[Process] Fix a mistake triggering stream_select errors
This commit is contained in:
parent
d6948581ac
commit
2d586d245d
@ -213,14 +213,15 @@ class Process
|
||||
|
||||
if (null === $this->stdin) {
|
||||
fclose($this->pipes[0]);
|
||||
unset($this->pipes[0]);
|
||||
|
||||
return;
|
||||
} else {
|
||||
$writePipes = array($this->pipes[0]);
|
||||
unset($this->pipes[0]);
|
||||
$stdinLen = strlen($this->stdin);
|
||||
$stdinOffset = 0;
|
||||
}
|
||||
unset($this->pipes[0]);
|
||||
|
||||
while ($writePipes) {
|
||||
$r = $this->pipes;
|
||||
|
Reference in New Issue
Block a user