(WinMain): Pass explicit environment block to
CreateProcess, to work around a bug in Windows 95/98.
This commit is contained in:
parent
6339134ef0
commit
1713212025
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
|
|||
sec_attrs.bInheritHandle = FALSE;
|
||||
|
||||
if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class,
|
||||
NULL, NULL, &start, &child))
|
||||
GetEnvironmentStrings (), NULL, &start, &child))
|
||||
{
|
||||
if (wait_for_child)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue