You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #53968 [Process] allow to ignore signals when executing a process (joelwurtz)
This PR was merged into the 7.1 branch.
Discussion
----------
[Process] allow to ignore signals when executing a process
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues |
| License | MIT
This PR allow to a process to ignore signals dispatched by PHP
This can be useful when using symfony messenger where the handler would execute a Process and receives a SIGTERM, actually the handler would fail with a `ProcessSignaledException` instead of waiting for the handler to terminate and gracefully shutdown.
Please note that ignoring a signal will also disallow to send this signal with the `posix_kill` function
Commits
-------
7bb6ecf feat(process): allow to ignore signals when executing a process
0 commit comments