Skip to content

Commit b0c0bf3

Browse files
committed
Revert "Issue #20 Read stderr before stdout to avoid hanging processes"
This reverts commit a628505.
1 parent a628505 commit b0c0bf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/Command.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,8 @@ public function execute()
315315

316316
if (is_resource($process)) {
317317

318-
// Issue #20: Read stderr before stdout to avoid hanging processes
319-
$this->_stdErr = stream_get_contents($pipes[2]);
320318
$this->_stdOut = stream_get_contents($pipes[1]);
319+
$this->_stdErr = stream_get_contents($pipes[2]);
321320
fclose($pipes[1]);
322321
fclose($pipes[2]);
323322

0 commit comments

Comments
 (0)