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


in reply to Understanding fork

You probably also want to have your child do a $SIG{HUP} = 'IGNORE' But, there's an even better way. I suggest you take a look at Proc::Daemon.