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

fix: surface command exit code on kill #170

Merged
merged 1 commit into from
Aug 5, 2023
Merged

Conversation

dsherret
Copy link
Owner

@dsherret dsherret commented Aug 5, 2023

It shouldn't be surfacing the abort exit code, unless a command attempts to run after failure. This will allow people to return and handle different exit codes based on what signal is sent to the command.

I think on timeout it should always surface the abort exit code on failure though and not the command's exit code in order for people to easily be able to test for a timeout having occurred.

@dsherret dsherret merged commit c347674 into main Aug 5, 2023
@dsherret dsherret deleted the fix_exit_code_kill branch August 5, 2023 22:59
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