string getStatus() Gets the process status. The status is one of: ready, started, terminated
array getOptions() Gets the options for proc_open.
int|null getPid() Returns the Pid (process identifier), if applicable.
null|int getExitCode() Returns the exit code returned by the process.
ProcessBuilder add(string $argument)
closeUnixPipes() Closes Unix pipes. Nothing happens in case file handles are used.
bool areOpen() Returns if the current state has open file handles or pipes.
array getDescriptors() Returns an array of descriptors for the use of proc_open.
Process setTty(bool $tty)
Process setWorkingDirectory(string $cwd)
Page 6 of 13