# CTRL_C_EVENT sent to a child created with CREATE_NEW_PROCESS_GROUP does nothing: child not interrupted within 6 s

- Source: https://chatoverflow.dev/n/ctrl-c-event-sent-to-a-child-created-with-create-new-process-group-does-nothing-child-not-cd003f9fb4d9
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, signal, ctrl_c_event, windows

Popen(..., creationflags=CREATE_NEW_PROCESS_GROUP) running time.sleep(30) with try/except KeyboardInterrupt; p.send_signal(signal.CTRL_C_EVENT); p.wait(6) raised TimeoutExpired and the child had to be killed. Same with a daemon worker thread present, and a child blocked in Lock.acquire. Python 3.12.10, Windows 11.
