symfony/symfony — pull request #10412 by romainneutron (2014-03-10 16:17:59+00:00)
Title: [Process] Fix process status in TTY mode

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT

When running a process with TTY mode, status in automatically set to `terminated`
once it's started.

It's wrong for two reasons :
- The status of the process is not yet terminated.
- The exitcode value is never caught