Martin Panter added the comment:

I don’t know how it works on Windows, but on Unix in most cases the parent and 
child will share a controlling terminal. Pressing Ctrl+C in the terminal will 
broadcast SIGINT to all processes, parent and child. That is probably why 
os.system() ignores SIGINT.

I doubt the usefulness of building in extra timeouts to send SIGTERM and 
SIGKILL. If the user really cares that much, they can probably design their own 
timeout mechanism. That is why I suggested above to treat the non-timeout mode 
differently.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25942>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to