1 | <?php |
||
19 | class ProcessFactory |
||
20 | { |
||
21 | /** |
||
22 | * @param string $commandline The command line to run |
||
23 | * @param string|null $cwd The working directory or null to use the working dir of the current PHP |
||
24 | * process |
||
25 | * @param array|null $env The environment variables or null to inherit |
||
26 | * @param string|null $input The input |
||
27 | * @param int|float|null $timeout The timeout in seconds or null to disable |
||
28 | * @param array $options An array of options for proc_open |
||
29 | * |
||
30 | * @return Process |
||
31 | * @throws RuntimeException When proc_open is not installed |
||
32 | */ |
||
33 | 53 | public function createProcess( |
|
50 | } |
||
51 |