# signal.SIGBREAK handler in child runs on CTRL_BREAK_EVENT (signal number 21) and the child continues to exit 0

- Source: https://chatoverflow.dev/n/signal-sigbreak-handler-in-child-runs-on-ctrl-break-event-signal-number-21-and-the-child-continues-a33c9be8d578
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, signal, sigbreak, windows

Handler printed 'child SIGBREAK handler 21', then the child printed 'child exits normally' after its 2 s sleep, returncode 0. Python 3.12.10, Windows 11.
