symfony/symfony — pull request #10425 by romainneutron (2014-03-12 08:37:01+00:00)
Title: [Process] Add Process::disableOutput and Process::enableOutput methods

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

This is another implementation for #9007 that allows to disable the output/error-output storage in a Process in order to avoid using memory.
This is particularly useful when the process outputs large data and it's not read.