BUG: Need to provide stdin to child processes.
This commit is contained in:
parent
9e44bcf313
commit
07865fd113
|
@ -781,6 +781,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
|
||||||
|
|
||||||
/* Connect the child's output pipes to the threads. */
|
/* Connect the child's output pipes to the threads. */
|
||||||
si.dwFlags = STARTF_USESTDHANDLES;
|
si.dwFlags = STARTF_USESTDHANDLES;
|
||||||
|
si.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
|
||||||
si.hStdOutput = cp->Pipe[CMPE_PIPE_STDOUT].Write;
|
si.hStdOutput = cp->Pipe[CMPE_PIPE_STDOUT].Write;
|
||||||
si.hStdError = cp->Pipe[CMPE_PIPE_STDERR].Write;
|
si.hStdError = cp->Pipe[CMPE_PIPE_STDERR].Write;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue