diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-08 14:41:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-08 14:41:54 (GMT) |
commit | 815c1cad70c68ec2b99e68eb1b65de963085c50d (patch) | |
tree | b89c7db25b3b3df50a84ded160bf03fadea374d3 /Source/cmWin32ProcessExecution.h | |
parent | b5bdf2cb0ae3bf3e655b76065050763b092d32f7 (diff) | |
download | CMake-815c1cad70c68ec2b99e68eb1b65de963085c50d.zip CMake-815c1cad70c68ec2b99e68eb1b65de963085c50d.tar.gz CMake-815c1cad70c68ec2b99e68eb1b65de963085c50d.tar.bz2 |
BUG: don't close the pipes too early
Diffstat (limited to 'Source/cmWin32ProcessExecution.h')
-rw-r--r-- | Source/cmWin32ProcessExecution.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Source/cmWin32ProcessExecution.h b/Source/cmWin32ProcessExecution.h index ea38768..822999c 100644 --- a/Source/cmWin32ProcessExecution.h +++ b/Source/cmWin32ProcessExecution.h @@ -143,13 +143,17 @@ private: bool PrivateClose(int timeout); HANDLE m_ProcessHandle; - - // Comment this out. Maybe we will need it in the future. - // file IO access to the process might be cool. - // FILE* m_StdIn; - // FILE* m_StdOut; - // FILE* m_StdErr; - + HANDLE hChildStdinRd; + HANDLE hChildStdinWr; + HANDLE hChildStdoutRd; + HANDLE hChildStdoutWr; + HANDLE hChildStderrRd; + HANDLE hChildStderrWr; + HANDLE hChildStdinWrDup; + HANDLE hChildStdoutRdDup; + HANDLE hChildStderrRdDup; + + int m_pStdIn; int m_pStdOut; int m_pStdErr; |