Skip to content

Commit

Permalink
[Process] Fix AbstractPipes::write() for a situation seen on HHVM (at…
Browse files Browse the repository at this point in the history
… least)
  • Loading branch information
nicolas-grekas committed Aug 2, 2016
1 parent 45dac4b commit 2bb2b9b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Symfony/Component/Process/Pipes/AbstractPipes.php
Expand Up @@ -134,9 +134,7 @@ protected function write()
if (null === $this->input && !isset($this->inputBuffer[0])) {
fclose($this->pipes[0]);
unset($this->pipes[0]);
}

if (!$w) {
} elseif (!$w) {
return array($this->pipes[0]);
}
}
Expand Down

0 comments on commit 2bb2b9b

Please sign in to comment.