From 9ce4e23715946dd56a7c2edc989982509d5fb164 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 5 Dec 2003 11:19:43 -0500 Subject: [PATCH] BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order. --- Source/kwsys/ProcessWin32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index a0f8e089c..c29412268 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -821,7 +821,7 @@ void kwsysProcess_Execute(kwsysProcess* cp) (unsigned short)(cp->HideWindow?SW_HIDE:SW_SHOWDEFAULT); /* Connect the child's output pipes to the threads. */ - si.StartupInfo.dwFlags = STARTF_USESTDHANDLES; + si.StartupInfo.dwFlags |= STARTF_USESTDHANDLES; /* Create stderr pipe to be shared by all processes in the pipeline. Neither end is directly inherited. */