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

Add Process::Status#exit_signal? #15284

Conversation

straight-shoota
Copy link
Member

Adds a non-raising variant of Process::Status#exit_signal for easier error handling.

Resolves part of #15271

@straight-shoota straight-shoota added this to the 1.15.0 milestone Dec 17, 2024
@straight-shoota straight-shoota merged commit 5545bca into crystal-lang:master Dec 18, 2024
69 checks passed
@straight-shoota straight-shoota deleted the feat/process_status-exit_signal branch December 18, 2024 16:46
straight-shoota added a commit that referenced this pull request Dec 20, 2024
Aligns `Status#signal_exit?` with `#exit_signal?` from #15284.
This includes the change that `Signal::STOP` (`0x7e`) is considered a signal by `#signal_exit?`, in concordance with `#exit_signal?`. See discussion in #15231 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants