From 71d0e36a5c2e3591ce72093e2d1f30618ee3a6e9 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Fri, 26 Sep 2025 14:51:00 -0500 Subject: [PATCH] Fix workingDirectory on Process on UNIX --- src/Platform/Process.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Platform/Process.cpp b/src/Platform/Process.cpp index cbbadf3..75bda52 100644 --- a/src/Platform/Process.cpp +++ b/src/Platform/Process.cpp @@ -611,7 +611,8 @@ CreateProcessW( close(strm_stderr[0]); 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); exit(1); }