diff options
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); |