Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PcntlForkingHandler Should Deal with Non-Normal Exits Better #44

Closed
chrisguitarguy opened this issue Jan 13, 2017 · 0 comments
Closed
Assignees

Comments

@chrisguitarguy
Copy link
Member

For instance, if the child process segfaults, pcntl_wifexited will return false and the handler the handle returns false eating any info about what happened.

I think this should probably throw some sort of exception in the parent process as a non-normal exit likely means that things weren't logged in the child. Can use pcntl_wtermsig.

@chrisguitarguy chrisguitarguy changed the title PcntlForkingHandler Should Better Deal with Non-Normal Exits PcntlForkingHandler Should Deal with Non-Normal Exits Better Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants