symfony/symfony — pull request #10530 by Taluu (2014-03-25 15:17:36+00:00)
Title: [Process] Do not show output in FailedException if it was disabled

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | ~
| License | MIT
| Doc PR | ~

With the recent addition of the ability to disable the output, it was not taken into account within the `ProcessFailedException`.

So, if the output was indeed disabled, and the process returns an error and triggers a `ProcessFailedException` exception (i.e via a mustRun), we could have another LogicException which is not expected.