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

Generator getIterator(int $flags) Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR). Parameters int $flags A bit field of Process::ITER_* flags Return Value Generator Exceptions LogicException in case the output has been disabled LogicException In case the process is not started

Process::getOutput()

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

Process::getOptions()

array getOptions() Gets the options for proc_open. Return Value array The current options

Process::getInput()

resource|string|Iterator|null getInput() Gets the Process input. Return Value resource|string|Iterator|null The Process input

Process::getIdleTimeout()

float|null getIdleTimeout() Gets the process idle timeout (max. time since last output). Return Value float|null The timeout in seconds or null if it's disabled

Process::getIncrementalErrorOutput()

string getIncrementalErrorOutput() Returns the errorOutput incrementally. In comparison with the getErrorOutput method which always return the whole error output, this one returns the new error output since the last call. Return Value string The process error output since the last call Exceptions LogicException in case the output has been disabled LogicException In case the process is not started

Process::getIncrementalOutput()

string getIncrementalOutput() Returns the output incrementally. In comparison with the getOutput method which always return the whole output, this one returns the new output since the last call. Return Value string The process output since the last call Exceptions LogicException in case the output has been disabled LogicException In case the process is not started

Process::getExitCodeText()

null|string getExitCodeText() Returns a string representation for the exit code returned by the process. This method relies on the Unix exit code status standardization and might not be relevant for other operating systems. Return Value null|string A string representation for the exit status code, null if the Process is not terminated See also http://tldp.org/LDP/abs/html/exitcodes.html http://en.wikipedia.org/wiki/Unix_signal

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