This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Mike Pomraning, SilentGhost, martin.panter, rpcope1, vstinner
Date 2016-04-12.22:11:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460499062.71.0.893435193838.issue25942@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-04-12 22:11:02martin.pantersetrecipients: + martin.panter, vstinner, SilentGhost, Mike Pomraning, rpcope1
2016-04-12 22:11:02martin.pantersetmessageid: <1460499062.71.0.893435193838.issue25942@psf.upfronthosting.co.za>
2016-04-12 22:11:02martin.panterlinkissue25942 messages
2016-04-12 22:11:02martin.pantercreate