Opened 22 months ago
Last modified 19 months ago
#2264 assigned defect
win32 control-c does not run cleanups from mingw shell
Reported by: | totaamwin32 | Owned by: | totaamwin32 |
---|---|---|---|
Priority: | minor | Milestone: | future |
Component: | platforms | Version: | 2.5.x |
Keywords: | Cc: |
Description
This causes the keyboard state to get wedged if it was the remote end that triggered the control-c as the control key will not be unpressed by clear_keys_pressed
.
Some excellent links:
Attachments (2)
Change History (6)
comment:1 Changed 22 months ago by
Owner: | changed from Antoine Martin to totaamwin32 |
---|---|
Status: | new → assigned |
comment:2 Changed 22 months ago by
Priority: | major → minor |
---|---|
Summary: | win32 control-c server exits without running cleanups → win32 control-c server exits without running cleanups in mingw shell |
Only affects mingw shell (and probably also cygwin).
Found some ancient related issues:
- SetConsoleCtrlHandler + Ctrl-C in mingw console
- ^C handling within msys
- Fix Ctrl-C Handler
- Ctrl-Break handler?
Maybe the patch never got merged?
Not sure where the right place is in msys2, https://github.com/msysgit/msys/blob/master/winsup/cygwin/exceptions.cc?
comment:3 Changed 22 months ago by
Summary: | win32 control-c server exits without running cleanups in mingw shell → win32 control-c does not run cleanups from mingw shell |
---|
Changed 20 months ago by
simplte test case - updated to be python version agnostic
comment:4 Changed 19 months ago by
Milestone: | 3.0 → future |
---|
Note: See
TracTickets for help on using
tickets.
Also affects the "attach" subcommand, the handler never runs.