Skip to content

Events #26

Description

@jhonatanTeixeira

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions