Author vstinner
Recipients amaury.forgeotdarc, brian.curtin, erickt, giampaolo.rodola, guettli, vstinner
Date 2010-01-21.00:29:30
SpamBayes Score 0.00973419
Marked as misclassified No
Message-id <1264033772.27.0.206832952432.issue5115@psf.upfronthosting.co.za>
In-reply-to
Content
> I suspect that on Windows, TerminateJobObject won't work 
> with a handle returned by CreateProcess.

TerminateJobObject works with CreateJobObject and AssignProcessToJobObject. The following code (from your patch) should call AssignProcessToJobObject (and CreateJobObject if there is no job yet):

+                    if not mswindows:
+                        os.setpgid(0, 0)
History
Date User Action Args
2010-01-21 00:29:32vstinnersetrecipients: + vstinner, guettli, amaury.forgeotdarc, giampaolo.rodola, erickt, brian.curtin
2010-01-21 00:29:32vstinnersetmessageid: <1264033772.27.0.206832952432.issue5115@psf.upfronthosting.co.za>
2010-01-21 00:29:30vstinnerlinkissue5115 messages
2010-01-21 00:29:30vstinnercreate