消息 [98087]
> 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:32 | vstinner | 修改 | recipients:
+ vstinner, guettli, amaury.forgeotdarc, giampaolo.rodola, erickt, brian.curtin |
| 2010-01-21 00:29:32 | vstinner | 修改 | messageid: <1264033772.27.0.206832952432.issue5115@psf.upfronthosting.co.za> |
| 2010-01-21 00:29:30 | vstinner | 链接 | issue5115 messages |
| 2010-01-21 00:29:30 | vstinner | 创建 | |
|