Message101774
| Author |
michael.foord |
| Recipients |
Technologov, andersjm, christian.heimes, kap4020, loewis, michael.foord, nnorwitz, tebeka, tim.peters, trent |
| Date |
2010年03月27日.00:22:21 |
| SpamBayes Score |
1.4478821e-06 |
| Marked as misclassified |
No |
| Message-id |
<1269649343.98.0.895643492236.issue1220212@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It would be really useful to be able to send signal.SIGINT to processes on Windows using os.kill(...). The patch as described sounds like it would have a different signature to the standard implementation of os.kill(...) which takes a pid and a signal type.
IronPython 2.7 will have an os.kill implementation. Looks like it only supports signal.SIGINT and signal.SIGBREAK and just calls:
Process toKill = Process.GetProcessById(pid);
toKill.Kill() |
|