windows-kill
windows-kill copied to clipboard
No support for CTRL_CLOSE_EVENT (closing console processes)
I could make use of windows-kill to test GNU Bash's behavior when a terminal is closed, if only the relevant signal (CTRL_CLOSE_EVENT) was supported. That signal is described in the HandlerRoutine function's documentation:
A signal that the system sends to all processes attached to a console when the user closes the console (either by clicking Close on the console window's window menu, or by clicking the End Task button command from Task Manager).