8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06eec9d commit 99fc428Copy full SHA for 99fc428
src/Symfony/Component/Process/Process.php
@@ -1072,13 +1072,10 @@ private function readPipes($blocking, $close)
1072
1073
$callback = $t 8A99 his->callback;
1074
foreach ($result as $type => $data) {
1075
- if (3 === $type) {
1076
- $this->fallbackStatus['running'] = false;
1077
- if (!isset($this->fallbackStatus['signaled'])) {
1078
- $this->fallbackStatus['exitcode'] = (int) $data;
1079
- }
1080
- } else {
+ if (3 !== $type) {
1081
$callback($type === self::STDOUT ? self::OUT : self::ERR, $data);
+ } elseif (!isset($this->fallbackStatus['signaled'])) {
+ $this->fallbackStatus['exitcode'] = (int) $data;
1082
}
1083
1084
0 commit comments