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 on ctrl+c #158

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Exit on ctrl+c #158

merged 1 commit into from
Jul 17, 2024

Conversation

popzxc
Copy link
Contributor

@popzxc popzxc commented Jul 17, 2024

cargo-workspaces sets the ctrl+c handler that doesn't terminate the program. When working with large workspaces, I find myself having to kill it with sigterm instead of sigint. This PR fixes it.

Before:

$ cargo ws plan --skip-published
error: config value `http.cainfo` is not set
^C^C^C^C^C^C^C^C
[1]    8534 terminated  cargo ws plan --skip-published

After:

$ cargo ws plan --skip-published
error: config value `http.cainfo` is not set
^C%

@pksunkara pksunkara merged commit 0015d20 into pksunkara:master Jul 17, 2024
7 checks passed
@popzxc popzxc deleted the fix-ctrlc branch July 17, 2024 09:58
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.

2 participants