Skip to content

Return correct exit code when process signalled#110

Merged
kevinmcconnell merged 1 commit intomainfrom
exit-code
Feb 2, 2026
Merged

Return correct exit code when process signalled#110
kevinmcconnell merged 1 commit intomainfrom
exit-code

Conversation

@kevinmcconnell
Copy link
Collaborator

If either the main process or upstream process is terminated with a signal, we now return the expected 128+signal status code.

Previously we were returning -1, which breaks convention.

If either the main process or upstream process is terminated with a
signal, we now return the expected 128+signal status code.

Previously we were returning -1, which breaks convention.
@kevinmcconnell kevinmcconnell merged commit 68e8abf into main Feb 2, 2026
5 checks passed
@kevinmcconnell kevinmcconnell deleted the exit-code branch February 2, 2026 13:24
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

Successfully merging this pull request may close these issues.

1 participant