-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Method overrides the PATH variable for child processes
styrene/styrene/data/launcherstub.c
Line 112 in ad3a94b
| if (! SetEnvironmentVariableW(L"PATH", newpath)) { |
This results of PATH variable that does not include the parent process PATH. This may cause problems in certain cases where launcher start other processes that depend on the env
...
[test.desktop]
name = test
comment = Test cmd for Windows
exec = ./test.cmd
and in test.cmd
echo %PATH%
for instance we might use some commands that reside in Windows\System32 but in this environment PATH will not include it, which will make it fail with ...is not recognized as an internal or external command, operable program or batch file.
Metadata
Metadata
Assignees
Labels
No labels