diff options
Diffstat (limited to 'Source/cmWin32ProcessExecution.cxx')
-rw-r--r-- | Source/cmWin32ProcessExecution.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmWin32ProcessExecution.cxx b/Source/cmWin32ProcessExecution.cxx index 6e62990..27ec2e5 100644 --- a/Source/cmWin32ProcessExecution.cxx +++ b/Source/cmWin32ProcessExecution.cxx @@ -502,6 +502,10 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring, saAttr.bInheritHandle = TRUE; saAttr.lpSecurityDescriptor = NULL; + fd1 = 0; + fd2 = 0; + fd3 = 0; + if (!CreatePipe(&this->hChildStdinRd, &this->hChildStdinWr, &saAttr, 0)) { this->Output += "CreatePipeError\n"; |