Discussion about recent product features & solutions!
- Posts: 34
- Joined: Tue Mar 31, 2015 10:52 am
is there any way to catch the signal (SIGTERM, SIGKILL) from inside a control script ?
That would be useful to perform a clean close.
Thanks for any help.
- Posts: 207
- Joined: Tue Jan 15, 2019 2:12 pm
It is possible to connect to the 'exitRequested' event with 'sysConnect()' to catch the 'SIGTERM' signal. On a 'SIGKILL' it is not possible to perform a clean close.