symfony/symfony — pull request #6540 by romainneutron (2013-01-03 14:11:16+00:00)
Title: [Process] Do not reset stdout/stderr pipes on stream_select failure

When `stream_select` is called and failed, pipes are currently reset to an empty array. As a result, both error-output and output are empty whereas the exitcode is 0 (successful process).

There is no reason (at least I don't see it) to reset pipes when an error occurs.