New submission from Eryk Sun:

On Unix, waiting on an instance of subprocess.Popen in the main thread is 
interruptible by Ctrl+C. On Windows, it currently calls 
_winapi.WaitForSingleObject, which isn't interruptible. It should instead call 
_winapi.WaitForMultipleObjects, which automatically adds the SIGINT event 
object from _PyOS_SigintEvent() when called from the main thread.

----------
components: Library (Lib), Windows
messages: 276544
nosy: eryksun, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Use _winapi.WaitForMultipleObjects in Popen.wait()
type: enhancement
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28168>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to