Boolean hasOpenHandles() Returns if the current state has open file handles or pipes.
close() Closes file handles and pipes.
ProcessBuilder setPrefix(string|array $prefix)
string[] readAndWrite(bool $blocking, bool $close = false) Reads data in file handles and pipes
bool isStarted() Checks if the process has been started with no regard to the current state.
unblock() Sets non-blocking mode on pipes.
bool areOpen() Returns if the current state has open file handles or pipes.
int run(callable|null $callback = null) Runs the process. The callback receives the type
string getErrorOutput() Returns the current error output of the process (STDERR).
Page 4 of 13