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

os.Exit when ctrlc #542

Merged
merged 1 commit into from
Nov 18, 2020
Merged

os.Exit when ctrlc #542

merged 1 commit into from
Nov 18, 2020

Conversation

pepin-stripe
Copy link
Contributor

Reviewers

r? @suz-stripe @richardm-stripe
cc @stripe/developer-products

Summary

Now we are facing conflicts with WithSIGTERMCancel between the playback and listen commands when playback runs listen in the background.
Just making sure here we correct exist the process without printing any unnecessary errors.

for #540 we'll have to extract the listen logic outside of the command, so we make sure WithSIGTERMCancel is setup at the correct level (cobra command) and not setup twice.

@pepin-stripe pepin-stripe merged commit e568813 into master Nov 18, 2020
@tomer-stripe tomer-stripe deleted the pepin/pp/fixctrlc branch March 4, 2021 17:26
az777777 pushed a commit to az777777/stripe-cli that referenced this pull request Jun 22, 2021
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.

3 participants