- Timestamp:
- Oct 7, 2009, 12:27:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qprocess_os2.cpp
r210 r211 861 861 862 862 // Initialize pipes 863 if (!createChannel(stdinChannel) || 864 !createChannel(stdoutChannel) || 865 !createChannel(stderrChannel)) 863 if (!createChannel(stdinChannel)) 866 864 return; 865 866 867 868 867 869 868 870 procKey = QProcessManager::addProcess(q); … … 936 938 break; 937 939 } 938 // qDebug() uses STDERR so only redirect if !QPROCESS_DEBUG939 #if !defined (QPROCESS_DEBUG)940 940 if ((arc = DosDupHandle(realStderr, &tmpStderr)) == NO_ERROR) { 941 941 // merge stdout and stderr if asked to … … 943 943 arc = DosDupHandle(realStdout, &realStderr); 944 944 } else { 945 946 945 947 arc = DosDupHandle(stderrChannel.pipe.client, &realStderr); 948 946 949 } 947 950 } 948 951 if (arc != NO_ERROR) 949 952 break; 950 #endif951 953 } 952 954
Note:
See TracChangeset
for help on using the changeset viewer.