mirror of
https://github.com/danog/process.git
synced 2024-12-13 17:47:35 +01:00
Fix Windows runner
This commit is contained in:
parent
9f302191f7
commit
08a7014aef
@ -91,13 +91,16 @@ final class Runner implements ProcessRunner {
|
|||||||
$handle->wrapperStderrPipe = $pipes[2];
|
$handle->wrapperStderrPipe = $pipes[2];
|
||||||
|
|
||||||
$stdinDeferred = new Deferred;
|
$stdinDeferred = new Deferred;
|
||||||
$handle->stdioDeferreds[] = new ProcessOutputStream($stdinDeferred->promise());
|
$handle->stdioDeferreds[] = $stdinDeferred;
|
||||||
|
$handle->stdin = new ProcessOutputStream($stdinDeferred->promise());
|
||||||
|
|
||||||
$stdoutDeferred = new Deferred;
|
$stdoutDeferred = new Deferred;
|
||||||
$handle->stdioDeferreds[] = new ProcessInputStream($stdoutDeferred->promise());
|
$handle->stdioDeferreds[] = $stdoutDeferred;
|
||||||
|
$handle->stdout = new ProcessInputStream($stdoutDeferred->promise());
|
||||||
|
|
||||||
$stderrDeferred = new Deferred;
|
$stderrDeferred = new Deferred;
|
||||||
$handle->stdioDeferreds[] = new ProcessInputStream($stderrDeferred->promise());
|
$handle->stdioDeferreds[] = $stderrDeferred;
|
||||||
|
$handle->stderr = new ProcessInputStream($stderrDeferred->promise());
|
||||||
|
|
||||||
$this->socketConnector->registerPendingProcess($handle);
|
$this->socketConnector->registerPendingProcess($handle);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user