mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Fix workingDirectory on Process on UNIX
This commit is contained in:
@@ -611,7 +611,8 @@ CreateProcessW(
|
|||||||
close(strm_stderr[0]);
|
close(strm_stderr[0]);
|
||||||
close(strm_stderr[1]);
|
close(strm_stderr[1]);
|
||||||
}
|
}
|
||||||
Tesses::Framework::Filesystem::VFSPath::SetAbsoluteCurrentDirectory(this->workingDirectory);
|
if(!this->workingDirectory.empty())
|
||||||
|
Tesses::Framework::Filesystem::VFSPath::SetAbsoluteCurrentDirectory(this->workingDirectory);
|
||||||
execve(this->name.c_str(),argv,envp);
|
execve(this->name.c_str(),argv,envp);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user