title: Can I kill a process from itself?
body: <p>I have some code that is executed when the process is killed, can I actually call <code>kill(getpid())</code> to force the execution of this code (and close the process obviously)?</p>