diff options
author | Brad King <brad.king@kitware.com> | 2003-06-18 21:06:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-18 21:06:21 (GMT) |
commit | 7e80f2f8746ab1a98879d37b1ece42a7f3ba6b01 (patch) | |
tree | 41141b9412b4a1583c73441f9f3caf688b9cecf8 /Source/kwsys/test1.cxx | |
parent | 5394a7534010660b0ad15ddb44c58ff293bdf41e (diff) | |
download | CMake-7e80f2f8746ab1a98879d37b1ece42a7f3ba6b01.zip CMake-7e80f2f8746ab1a98879d37b1ece42a7f3ba6b01.tar.gz CMake-7e80f2f8746ab1a98879d37b1ece42a7f3ba6b01.tar.bz2 |
ENH: Added documentation to interface. Finished process exit code interpretation implementation prototype.
Diffstat (limited to 'Source/kwsys/test1.cxx')
-rw-r--r-- | Source/kwsys/test1.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/test1.cxx b/Source/kwsys/test1.cxx index 0957d3a..7dd61a4 100644 --- a/Source/kwsys/test1.cxx +++ b/Source/kwsys/test1.cxx @@ -11,7 +11,8 @@ int main() kwsysProcess_Execute(kp); char* data = 0; int length = 0; - while(kwsysProcess_WaitForData(kp, kwsysProcess_STDOUT | kwsysProcess_STDERR, + while(kwsysProcess_WaitForData(kp, (kwsysProcess_Pipe_STDOUT | + kwsysProcess_Pipe_STDERR), &data, &length, 0)) { kwsys_std::cout.write(data, length); |