ctrl+c
does not terminate all par-each
instances
#7154
Labels
🐛 bug
Something isn't working
signal-cancel
Problems with how executions react to signals or attempts at cancellation (CTRL-C)
Discussed in #7152
Originally posted by cmpute November 16, 2022
How do I terminate all the commands running with
par-each
? When I press ctrl+c, it seems that nushell only sends the signal to one of the tasks, rather than all of them.Steps To Reproduce
With Python installed, run
..3 | par-each { python -c "import time, itertools; [(print(i), time.sleep(0.1)) for i in itertools.count()]" }
and pressctrl+c
. On Windows, all Python instances are terminated (as expected), but on Linux it seems like only 1 is terminated.Nu version
The text was updated successfully, but these errors were encountered: