diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-11-23 11:23:02 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-11-23 10:42:42 +0000 |
commit | a3b5c6e9444023ec5daad85d917336334f5dac43 (patch) | |
tree | bb78481f82b4987f27113d24a4829a96cb7f112c /src/lib/corelib/buildgraph/processcommandexecutor.h | |
parent | 6653f0f2e181ae8f9b2892d6213275e710bc548a (diff) |
ProcessCommandExecutor: Clean up process output handling.
- Get rid of code duplication.
- Simplify code flow.
- Fix potentially erroneous overwriting of error status.
Change-Id: Ic7e3babe707e6d9e5c8c478de0891a5adecc0875
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/processcommandexecutor.h')
-rw-r--r-- | src/lib/corelib/buildgraph/processcommandexecutor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/processcommandexecutor.h b/src/lib/corelib/buildgraph/processcommandexecutor.h index 824c7fbe7..38dc1ee36 100644 --- a/src/lib/corelib/buildgraph/processcommandexecutor.h +++ b/src/lib/corelib/buildgraph/processcommandexecutor.h @@ -68,6 +68,8 @@ private: void startProcessCommand(); QString filterProcessOutput(const QByteArray &output, const QString &filterFunctionSource); + void getProcessOutput(bool stdOut, ProcessResult &result); + void sendProcessOutput(); void removeResponseFile(); const ProcessCommand *processCommand() const; |