- or download this
sub main_script()
...
}
- or download this
sub start_child()
...
# In child process
exec("child script", args);
}
- or download this
foreach (@child_pids)
...
kill "SIGTERM", $_;
}
- or download this
while(waitpid(...))
{
# Reap the children
}
- or download this
debug2: client_process_control: accepted tty 0, subsys 0, cmd /usr/lev
+el1/sw/tmcvay/bin/PWL
...
debug1: Exit status -1
# _waitpid(3389) => pid: 3389, rc: