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
I was wondering, if theres any way to capture the process finish event on the parent process, the documentation does not say which scope (pid) the binded events runs.
With some var_dumps i figured those events callbacks ocuurs on the child process. However, it is possible to run an async callback on sigchild signal on pcntl, maybe that can be used to call a event on sigchild so my parent process can be async notified that the child process ended.
The text was updated successfully, but these errors were encountered:
I was wondering, if theres any way to capture the process finish event on the parent process, the documentation does not say which scope (pid) the binded events runs.
With some var_dumps i figured those events callbacks ocuurs on the child process. However, it is possible to run an async callback on sigchild signal on pcntl, maybe that can be used to call a event on sigchild so my parent process can be async notified that the child process ended.
The text was updated successfully, but these errors were encountered: