@@ -70,6 +70,9 @@ |
||
| 70 | 70 | return ParallelProcess::create($task, $process, self::getId(), $outputLength); |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | + /** |
|
| 74 | + * @param callable $task |
|
| 75 | + */ |
|
| 73 | 76 | public static function createProcessExecutable($task, ?int $outputLength = null, string $binary = Pool::DEFAULT_PHP_BINARY): Process |
| 74 | 77 | { |
| 75 | 78 | return new Process([ |