[php-src] PR #11509: Fix GH-11498: SIGCHLD is not always returned from proc_open
| From: | nielsdos | Date: | Thu, 22 Jun 2023 22:20:33 +0000 |
| Subject: | [php-src] PR #11509: Fix GH-11498: SIGCHLD is not always returned from proc_open | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22794@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11509
Author: nielsdos
Linux, and maybe other unixes, may merge multiple standard signals into a single one. This causes
issues when keeping track of process IDs. Solve this by manually checking which children are dead
using waitpid().
Test case is based on taka-oyama's test code.