We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a628505 commit b0c0bf3Copy full SHA for b0c0bf3
1 file changed
src/Command.php
@@ -315,9 +315,8 @@ public function execute()
315
316
if (is_resource($process)) {
317
318
- // Issue #20: Read stderr before stdout to avoid hanging processes
319
- $this->_stdErr = stream_get_contents($pipes[2]);
320
$this->_stdOut = stream_get_contents($pipes[1]);
+ $this->_stdErr = stream_get_contents($pipes[2]);
321
fclose($pipes[1]);
322
fclose($pipes[2]);
323
0 commit comments