title: Kill child process with cleanup
body: <p>Is there a way to kill my app's child process and perform it's cleanup(calling deconstructors and atexit functions), similarly to <code>exit(exit_code)</code>, but on another process?</p>