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

BUG: Need to provide stdin to child processes.

parent b9890dc0
No related branches found
No related tags found
No related merge requests found
......@@ -781,6 +781,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
/* Connect the child's output pipes to the threads. */
si.dwFlags = STARTF_USESTDHANDLES;
si.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
si.hStdOutput = cp->Pipe[CMPE_PIPE_STDOUT].Write;
si.hStdError = cp->Pipe[CMPE_PIPE_STDERR].Write;
......
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