I have a question on what happens when a process is terminated.
I create a process: create process Proc python-module [python file] start on-demand
I then start it: start process Proc slot 1
When I terminate it: terminate process Proc gracefully slot 1
Is there an exception that I can catch in my python script so I can do some kind of cleanup or extra logging before the process completely dies?