Forum Discussion

JoergDebus's avatar
JoergDebus
Copper Contributor
Mar 05, 2024

How to handle a CTRL-C input from the console as an event like a SIGINT in other languages?

I have to stop a long running script by an external event like entering CTRL-C at the console and then to process some cleanup actions before exiting. I have tried this but it terminates silently aft...

Resources