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

Cancel any commands when recieveing a signal interupt #211

Open
jhnstn opened this issue Nov 2, 2023 · 0 comments
Open

Cancel any commands when recieveing a signal interupt #211

jhnstn opened this issue Nov 2, 2023 · 0 comments

Comments

@jhnstn
Copy link
Member

jhnstn commented Nov 2, 2023

Right now the workspace package in cmd handles single interrupts to clean up the temp directory. This doesn't cancel anything running in a system Command like git or npm.

The Command struct has a Process which responds to Kill() to kill the process. Commands can also have a context which should let us know which command is being run from the top level cmd packages.

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

No branches or pull requests

1 participant