title: how to handle os.system sigkill signal inside python?
body: <p>I have a python script where I call a lengthy process from the operating system. After a long while, the process that I call gets terminated by the system by SIGKILL signal. </p>
  
  <p>Is it possible to handle this from inside Python like in a try and catch situation?</p>
  
  <p>What method should I use to solve this issue. It is very important that this process keeps on running as long as possible without any interruptions.  </p>