(WinMain): Pass explicit environment block to

CreateProcess, to work around a bug in Windows 95/98.
This commit is contained in:
Andrew Innes 1999-01-26 12:56:01 +00:00
parent 6339134ef0
commit 1713212025

View file

@ -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)
{