Closed
Description
I ran tox
, saw some errors, hit ^C to stop the test run. That didn't work so I hit ^C a couple of times more.\
Now I'm looking at
...................................................................................................................................................................................................................................................^CERROR: KEYBOARDINTERRUPT
Exception KeyboardInterrupt in <function remove at 0x7fa81be1e140> ignored
....^CERROR: keyboardinterrupt
[1m55s, exited with 2]
mg@platonas: ~/src/ivija [git:py3 *$=] $ ........
and while tox
itself exited, the zope-testrunner process spawned by tox keeps running, spewing output to my terminal.
I'm on Ubuntu 18.10 with tox 3.7.0.
It would be nice if tox killed all the child processes (with SIGKILL) if the user presses ^C enough times, instead of leaving them running.
(Perhaps Unix process groups or terminal sessions could help? My Unix-fu is too weak to suggest a concrete solution.)