in reply to fork/exe, system open etc.
fork && exit;
Because fork returns the child PID (>0) to the parent and 0 to the child it can be used as a boolean.
As similar code should work for you. Did you tried to set $SIG{CHLD} = 'IGNORE';?
AFIK exec replaces the perl interpreter process with the called command - that's not what you want.
|
|---|