http://qs321.pair.com?node_id=211501


in reply to Re: Re: Understanding fork
in thread Understanding fork

Where you have the comment about redirecting the user, add
$SIG{CHLD}='IGNORE'; exit;
That way, the parent process will exit immediately, hopefully without waiting for the child process.
--
Mike