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