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); }