From ec6e32cac59731a4eb57c1cd7b03046cc51b964d Mon Sep 17 00:00:00 2001 From: rrt Date: Tue, 3 Jul 2001 16:52:45 +0000 Subject: [PATCH] [project @ 2001-07-03 16:52:45 by rrt] Allow child process to inherit parent's handles. --- ghc/InstallShield/runexe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4