php-phantomjs
php-phantomjs copied to clipboard
fix blocks infinitly under Windows
It seems that stream_get_contents() on STDOUT blocks infinitly under Windows when STDERR is filled under some circumstances. reference: https://www.php.net/manual/zh/function.proc-open.php#97012