summaryrefslogtreecommitdiffstats
path: root/Source/cmWin32ProcessExecution.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-08 14:41:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-08 14:41:54 (GMT)
commit815c1cad70c68ec2b99e68eb1b65de963085c50d (patch)
treeb89c7db25b3b3df50a84ded160bf03fadea374d3 /Source/cmWin32ProcessExecution.h
parentb5bdf2cb0ae3bf3e655b76065050763b092d32f7 (diff)
downloadCMake-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.h18
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;