[issue1220212] os.kill on windows

Brian Curtin report at bugs.python.org
Wed Mar 31 04:10:27 CEST 2010


Brian Curtin <curtin at acm.org> added the comment:

Here is a patch with some tests and doc changes.

I'm having trouble coming up with tests which will work with CTRL_C_EVENT and CTRL_BREAK_EVENT. Based on my understanding of GenerateConsoleCtrlEvent, I figured this example (http://msdn.microsoft.com/en-us/library/ms685049%28v=VS.85%29.aspx) would be receptive to CTRL+C when started as a subprocess, but it doesn't work. I also figured "python -c "input()"" started as a subprocess could be killed with CTRL_C_EVENT, but it doesn't work either.

----------
Added file: http://bugs.python.org/file16703/issue1220212.patch

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


More information about the Python-bugs-list mailing list