Complete Dissociation of Child from Parent

In some cases (starting server processes, for instance) you'll want to complete dissociate the child process from the parent. The easiest way is to use:

    use POSIX qw(setsid);
    setsid()            or die "Can't start a new session: $!";

However, you may not be on POSIX. The following process is reported to work on most Unixish systems. Non-Unix users should check their Your_OS::Process module for other solutions.