[issue1220212] os.kill on windows

Michael Foord report at bugs.python.org
Sat Mar 27 01:22:23 CET 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

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()

----------
nosy: +michael.foord

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1220212>
_______________________________________


More information about the Python-bugs-list mailing list