diff options
Diffstat (limited to 'Source/CTest/cmProcess.h')
-rw-r--r-- | Source/CTest/cmProcess.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmProcess.h b/Source/CTest/cmProcess.h index 2d11e61..08ce733 100644 --- a/Source/CTest/cmProcess.h +++ b/Source/CTest/cmProcess.h @@ -40,8 +40,8 @@ public: // Return true if the process starts bool StartProcess(); - // return process state - void CheckOutput(double timeout); + // return false if process has exited, true otherwise + bool CheckOutput(double timeout); // return the process status int GetProcessStatus(); // return true if the process is running @@ -53,7 +53,7 @@ public: int GetExitValue() { return this->ExitValue;} double GetTotalTime() { return this->TotalTime;} int GetNextOutputLine(std::string& stdOutLine, std::string& stdErrLine, - bool& gotStdOut, bool& gotStdErr); + bool& gotStdOut, bool& gotStdErr, bool running); private: int LastOutputPipe; double Timeout; |