php-censor/src
TobiasKappe 5c10fca905 Read standard output and standard error of child process using stream_select. (#1253)
If a process filled up the buffer of the standard error pipe before closing the
standard output pipe, it would hang. As a result, the call to
stream_get_contents for the standard output pipe would not return, as the
standard error pipe needs to be read from in order for the process to continue.
This change uses stream_select to read from both pipes whenever data becomes
available.
2017-01-06 11:15:08 +07:00
..
B8Framework Fixed tests 2017-01-04 15:16:20 +07:00
PHPCensor Read standard output and standard error of child process using stream_select. (#1253) 2017-01-06 11:15:08 +07:00