diff --git a/ProcessWin32.c b/ProcessWin32.c index 15362b5d49b1455041c94d03d01087477dbc7fbb..71bfcdd8fa768c7521e95303f75173452701710f 100644 --- a/ProcessWin32.c +++ b/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. */