phingofficial/phing — pull request #173 by tymoteuszsielach (2012-12-27 10:03:19+00:00)
Title: Proper handling of STDOUT and STDERR

I have found a serious bug. When phing is spawning a process and is executed by SSH, the sshd process hangs. It happens because fopen("php://stdout", "w") creates a copy od STDOUT (according to http://php.net/manual/en/wrappers.php.php). In general - usage of constants STDOUT and STDERR is recomended.
The bug is also visible when an execTask runs a script which spawns a process.

Thanks

Tymoteusz