http://www.perlmonks.org?node_id=1059234


in reply to Re^2: forking and exec
in thread forking and exec

exec never returns, but any child that doesn't get reaped becomes a zombie_process. See perlipc, wait, waitpid. The easiest way to handle it is with $SIG{CHLD} = "IGNORE";, which tells perl to autoreap.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.