Linuxlike Ctrl-C (KeyboardInterrupt) for the Windows cmd line?
There are two keyboard combinations that can be used to stop process in Windows command line.
Ctrl+C is the "nicer" method. Programmers can handle this in software. It's possible to write programs that ignore Ctrl+C as
SIGINT
signal completely, or handle Ctrl+C like a regular keyboard combination.Ctrl+break is the "harder" method, always sends
SIGBREAK
signal and cannot be overridden in software.