I'm writing a CLI application using FPC that will run in Linux. I'm just writing it in Vim, not Lazarus. This application runs another app using TProcess.
What I want to know is, if my app gets terminated with a ctrl-c, can I count on the TProcess execution to be terminated, too, or do I need to code for that?
If I do need to code for it, can someone point me to a way to catch a termination event?