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

Only forwarding ctrl-c to task #1029

Open
shiqicao opened this issue Jan 22, 2024 · 1 comment
Open

Only forwarding ctrl-c to task #1029

shiqicao opened this issue Jan 22, 2024 · 1 comment
Assignees

Comments

@shiqicao
Copy link

Feature Description

Only forwarding ctrl-c to task instead of kill current flow

Describe The Solution You'd Like

While running a long run task and followed by a clean up task, I'd like to send ctrl-c to the long running task, but all following tasks still run.

Code Sample

[tasks.all]
dependencies = [
"init",
"do-something",
"cleanup",
]

cargo make all

send ctrl-c

cleanup will always be called.

@sagiegurari
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants