devbox
devbox copied to clipboard
When SIGINT is detected by `devbox run` send SIGTERM to the pid of the script that is running
Summary
When SIGINT is detected by devbox run send SIGTERM to the pid of the script that is running. Fixes #1815
How was it tested?
I ran a script before this change and CTRL-C could not cancel it. With this change it can be canceled.
Is there a good way to add test for these cases into the repository? If there is, I will gladly do it.
I made an initial stab of doing it this way and cancelling didn't work. I will try to get back to this in a bit.