Field ROptions.CurrentDirectory
Initial current directory for the new process.
If null
(default), the new process will inherit the current directory of this process.
If ""
, the function gets parent directory path from the file parameter, if possible (if full path is specified or found). If not possible, same as null
.
note
Some programs look for their files in current directory and fail to start if it is not the program's directory.
public string CurrentDirectory