X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2FInstallShield%2Frunexe.c;h=c1becfbcaa7db5ce5b71641e27cf6a7829c64980;hb=145c989f0f2b6b648376ce3fe3b42e1a08d13a14;hp=e55845d0b4d26194a9c8bb691d8090761b5a48cf;hpb=ca2b5e30605e4113a3cb8bfe8349e336fabb97ff;p=ghc-hetmet.git diff --git a/ghc/InstallShield/runexe.c b/ghc/InstallShield/runexe.c index e55845d..c1becfb 100644 --- a/ghc/InstallShield/runexe.c +++ b/ghc/InstallShield/runexe.c @@ -46,7 +46,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmd if (strlen(lpszCmdParam) == 0) die("no parameters given"); warn("cwd: %s\n", buf); warn("runexing >>>%s<<<\n", lpszCmdParam); - if (!CreateProcess(NULL, lpszCmdParam, NULL, NULL, FALSE, 0, NULL, NULL, &sInfo, &pInfo)) + if (!CreateProcess(NULL, lpszCmdParam, NULL, NULL, TRUE, 0, NULL, NULL, &sInfo, &pInfo)) die("could not create process"); WaitForSingleObject(pInfo.hProcess, INFINITE);