[Process] added flush methods to stdout and stderr
Merge branch 'ticket_7884' of github.com:imobilis/symfony into ticket_7884