Moves the process to a separate process group and on exit kill it and all its children.
See Implementation
Moves the process to a separate process group and on exit kill it and all its children.