Process Control - Fork Chaser

This script uses process control to fork a child process in a new session detached from the parent, the parent dies and the child continues code execution. This create a looping scenario whereby a child is started, the parent dies, and so the process ID is ever changing. If the parent code section were changed, the exit statement removed and the same exec statement from the child section added, it would be a fork bomb with parents and children executing more instances of the same script. Instead, this script simply creates new children instances of its self, killing the parent each time. To successfully kill it you need to chase down the PID of the current child instance, hense the sleep statement.