diff options
author | Brad King <brad.king@kitware.com> | 2003-08-06 13:27:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-06 13:27:56 (GMT) |
commit | 07865fd113cccc5859250af1b57bac7b20bf3cf5 (patch) | |
tree | 2cad1e7651fef71e310312b81e9c46e5291df68b /Source/kwsys | |
parent | 9e44bcf313666a0ed0d760589e3179137cdbfe5f (diff) | |
download | CMake-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.c | 1 |
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; |