static bool isPtySupported() Returns whether PTY is supported on the current operating system. Return Value bool
bool isPty() Returns PTY state. Return Value bool
bool isOutputDisabled() Returns true in case the output is disabled, false otherwise. Return Value bool
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
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
string|null getWorkingDirectory() Gets the working directory. Return Value string|null The current working directory or null on failure
float|null getTimeout() Gets the process timeout (max. runtime). Return Value float|null The timeout in seconds or null if it's disabled
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
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
string getStatus() Gets the process status. The status is one of: ready, started, terminated. Return Value string The current process status
Page 240 of 787