http://qs1969.pair.com?node_id=378472


in reply to Using 'kill' to see if a process is stil alive

anbrus is almost right, but you don't need wait to get SIGCHLD. The os always sends you that when the child exits. You just need to handle it. Try setting $SIG{CHLD} = 'IGNORE'; before launching the child.

After Compline,
Zaxo