➜

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.

作者 vstinner
收信人 amaury.forgeotdarc, brian.curtin, erickt, giampaolo.rodola, guettli, vstinner
日期 2010-01-21.00:29:30
SpamBayes Score 0.009734195
Marked as misclassified 否
Message-id <1264033772.27.0.206832952432.issue5115@psf.upfronthosting.co.za>
In-reply-to
内容
> 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)
历史
日期 用户 动作 参数
2010-01-21 00:29:32vstinner修改recipients: + vstinner, guettli, amaury.forgeotdarc, giampaolo.rodola, erickt, brian.curtin
2010-01-21 00:29:32vstinner修改messageid: <1264033772.27.0.206832952432.issue5115@psf.upfronthosting.co.za>
2010-01-21 00:29:30vstinner链接issue5115 messages
2010-01-21 00:29:30vstinner创建