Fix TessesFramework for CrossLang

This commit is contained in:
2025-11-25 20:21:51 -06:00
parent 5357912f5a
commit 2e69d18c14
14 changed files with 71 additions and 45 deletions

View File

@@ -613,7 +613,7 @@ CreateProcessW(
}
if(!this->workingDirectory.empty())
Tesses::Framework::Filesystem::VFSPath::SetAbsoluteCurrentDirectory(this->workingDirectory);
execve(this->name.c_str(),argv,envp);
execvpe(this->name.c_str(),argv,envp);
exit(1);
}
p->pid = pid;