in reply to rsh <defunct> processes appear when using fork and system calls

If your system supports autoreaping of zombies you might try enabling that via the following:
$SIG{CHLD} = 'IGNORE';

However, I am not sure if the calls to system you are making will interfere with this or not. I think if you switched to exec it is more likely to work.

  • Comment on Re: rsh <defunct> processes appear when using fork and system calls
  • Download Code