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 pitrou
Recipients davin, pitrou
Date 2017-06-28.20:03:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498680221.55.0.739149893408.issue30794@psf.upfronthosting.co.za>
In-reply-to
Content
subprocess.Popen() has both terminate() and kill() methods.  Under Unix, the first sends SIGTERM and the second SIGKILL.

multiprocessing.Process() only has terminate(), which sends SIGTERM.  It may be useful to add a kill() method to send SIGKILL (on Windows, kill() would be the same as terminate()).

One possible use case is when the child process has redefined the SIGTERM handler to something that doesn't trigger an exit (or takes a long time to exit).  Or if something non-interruptible is running...
History
Date User Action Args
2017-06-28 20:03:41pitrousetrecipients: + pitrou, davin
2017-06-28 20:03:41pitrousetmessageid: <1498680221.55.0.739149893408.issue30794@psf.upfronthosting.co.za>
2017-06-28 20:03:41pitroulinkissue30794 messages
2017-06-28 20:03:41pitroucreate