[php-src] PR #16456: run-tests: Fix getting stuck when the test process dies uncleanly
| From: | TimWolla | Date: | Wed, 16 Oct 2024 09:34:36 +0000 |
| Subject: | [php-src] PR #16456: run-tests: Fix getting stuck when the test process dies uncleanly | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29258@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16456
Author: TimWolla
When a test process spawns a subprocess that keeps STDOUT open and then dies uncleanly, while
writing something to STDERR
run-tests.php would erroneously attempt to read from
STDOUT and then get blocked until the subprocess dies (which might never happen).