Process::isRunning()

bool isRunning() Checks if the process is currently running. Return Value bool true if the process is currently running, false otherwise

Process::isSuccessful()

bool isSuccessful() Checks if the process ended successfully. Return Value bool true if the process ended successfully, false otherwise

Process::isOutputDisabled()

bool isOutputDisabled() Returns true in case the output is disabled, false otherwise. Return Value bool

Process::hasBeenStopped()

bool hasBeenStopped() Returns true if the child process has been stopped by a signal. It always returns false on Windows. Return Value bool Exceptions LogicException In case the process is not terminated

Process::getWorkingDirectory()

string|null getWorkingDirectory() Gets the working directory. Return Value string|null The current working directory or null on failure

Process::hasBeenSignaled()

bool hasBeenSignaled() Returns true if the child process has been terminated by an uncaught signal. It always returns false on Windows. Return Value bool Exceptions RuntimeException In case --enable-sigchild is activated LogicException In case the process is not terminated

Process::getTermSignal()

int getTermSignal() Returns the number of the signal that caused the child process to terminate its execution. It is only meaningful if hasBeenSignaled() returns true. Return Value int Exceptions RuntimeException In case --enable-sigchild is activated LogicException In case the process is not terminated

Process::getPid()

int|null getPid() Returns the Pid (process identifier), if applicable. Return Value int|null The process id if running, null otherwise

Process::getStatus()

string getStatus() Gets the process status. The status is one of: ready, started, terminated. Return Value string The current process status

Process::getStopSignal()

int getStopSignal() Returns the number of the signal that caused the child process to stop its execution. It is only meaningful if hasBeenStopped() returns true. Return Value int Exceptions LogicException In case the process is not terminated