Process::getErrorOutput()

string getErrorOutput() Returns the current error output of the process (STDERR). Return Value string The process error output Exceptions LogicException in case the output has been disabled LogicException In case the process is not started

Process::getEnv()

array getEnv() Gets the environment variables. Return Value array The current environment variables

Process::getEnhanceWindowsCompatibility()

bool getEnhanceWindowsCompatibility() Gets whether or not Windows compatibility is enabled. This is true by default. Return Value bool

Process::getEnhanceSigchildCompatibility()

bool getEnhanceSigchildCompatibility() Returns whether sigchild compatibility mode is activated or not. Return Value bool

Process::getCommandLine()

string getCommandLine() Gets the command line to be executed. Return Value string The command to execute

Process::enableOutput()

Process enableOutput() Enables fetching output and error output from the underlying process. Return Value Process Exceptions RuntimeException In case the process is already running

Process::disableOutput()

Process disableOutput() Disables fetching output and error output from the underlying process. Return Value Process Exceptions RuntimeException In case the process is already running LogicException if an idle timeout is set

Process::clearOutput()

Process clearOutput() Clears the process output. Return Value Process

Process::clearErrorOutput()

Process clearErrorOutput() Clears the process output. Return Value Process

Process::checkTimeout()

checkTimeout() Performs a check between the timeout definition and the time the process started. In case you run a background process (with the start method), you should trigger this method regularly to ensure the process timeout Exceptions ProcessTimedOutException In case the timeout was reached