summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-06 13:27:56 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-06 13:27:56 (GMT)
commit07865fd113cccc5859250af1b57bac7b20bf3cf5 (patch)
tree2cad1e7651fef71e310312b81e9c46e5291df68b /Source/kwsys
parent9e44bcf313666a0ed0d760589e3179137cdbfe5f (diff)
downloadCMake-07865fd113cccc5859250af1b57bac7b20bf3cf5.zip
CMake-07865fd113cccc5859250af1b57bac7b20bf3cf5.tar.gz
CMake-07865fd113cccc5859250af1b57bac7b20bf3cf5.tar.bz2
BUG: Need to provide stdin to child processes.
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/ProcessWin32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index 84c1bdd..fc62999 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -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;