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

Exit with codes that correspond to posix signals #37

Open
hunterloftis opened this issue Sep 21, 2020 · 1 comment
Open

Exit with codes that correspond to posix signals #37

hunterloftis opened this issue Sep 21, 2020 · 1 comment

Comments

@hunterloftis
Copy link
Owner

https://nodejs.org/api/process.html#process_exit_codes

As recommended by @wearhere in #22 (comment).

@wearhere
Copy link

As far as implementation goes, I think that I found that sending the signal to the process again (https://github.com/hunterloftis/throng/pull/22/files#diff-73e968726de16eeee0444f17bb9afc09R67) would cause Node to exit with the correct code—we wouldn't have to calculate the code ourselves.

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

No branches or pull requests

2 participants