From 07865fd113cccc5859250af1b57bac7b20bf3cf5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 6 Aug 2003 09:27:56 -0400 Subject: [PATCH] BUG: Need to provide stdin to child processes. --- Source/kwsys/ProcessWin32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 84c1bdd79..fc629990f 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;