Process::isPtySupported()

static bool isPtySupported() Returns whether PTY is supported on the current operating system. Return Value bool

Process::isPty()

bool isPty() Returns PTY state. Return Value bool

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::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::getWorkingDirectory()

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

Process::getTimeout()

float|null getTimeout() Gets the process timeout (max. runtime). Return Value float|null The timeout in seconds or null if it's disabled

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::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

Process::getStatus()

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