Skip to content
Snippets Groups Projects
Commit 6ff7630f authored by Brad King's avatar Brad King
Browse files

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

BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order.
parent 7409453c
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment