Brian Curtin <cur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue1220212> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com