Message98087
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, brian.curtin, erickt, giampaolo.rodola, guettli, vstinner |
| Date |
2010年01月21日.00:29:30 |
| SpamBayes Score |
0.009734195 |
| 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) |
|