BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order.

This commit is contained in:
Brad King 2003-12-05 11:19:43 -05:00
parent f791e1a80b
commit 9ce4e23715
1 changed files with 1 additions and 1 deletions

View File

@ -821,7 +821,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
(unsigned short)(cp->HideWindow?SW_HIDE:SW_SHOWDEFAULT); (unsigned short)(cp->HideWindow?SW_HIDE:SW_SHOWDEFAULT);
/* Connect the child's output pipes to the threads. */ /* 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. /* Create stderr pipe to be shared by all processes in the pipeline.
Neither end is directly inherited. */ Neither end is directly inherited. */