We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fb4dec commit 96ef3a8Copy full SHA for 96ef3a8
src/Symfony/Component/Process/Process.php
@@ -1482,6 +1482,11 @@ private function resetProcessData(): void
1482
*/
1483
private function doSignal(int $signal, bool $throwException): bool
1484
{
1485
+ // Signal seems to be send when sigchild is enable, this allow blocking the signal correctly in this case
1486
+ if ($this->isSigchildEnabled() && \in_array($signal, $this->ignoredSignals)) {
1487
+ return false;
1488
+ }
1489
+
1490
if (null === $pid = $this->getPid()) {
1491
if ($throwException) {
1492
throw new LogicException('Cannot send signal on a non running process.');
0 commit comments