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

ctrl+c exits long-running command (REPL) unexpectedly #954

Open
xxchan opened this issue Sep 28, 2023 · 2 comments
Open

ctrl+c exits long-running command (REPL) unexpectedly #954

xxchan opened this issue Sep 28, 2023 · 2 comments

Comments

@xxchan
Copy link
Contributor

xxchan commented Sep 28, 2023

e.g., psql/python

[tasks.python]
script = '''
#!/usr/bin/env bash
python
'''

This is kind of the duality of #374 (long-running server is not killed 😄

@xxchan xxchan changed the title ctrl+c exist long-running command (REPL) unexpectedly ctrl+c exits long-running command (REPL) unexpectedly Sep 28, 2023
@sagiegurari
Copy link
Owner

sagiegurari commented Oct 1, 2023

@xxchan did you try the following:
https://github.com/sagiegurari/cargo-make#unstable-features

[config]
unstable_features = ["CTRL_C_HANDLING"]

@xxchan
Copy link
Contributor Author

xxchan commented Oct 2, 2023 via email

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