in reply to Re^2: Get parent process to handle signals for its children?
in thread Get parent process to handle signals for its children?
The value returned by system is composed of three fields. The exit value of the subprocess is $rv >> 8, $rv & 127 gives the signal (if any) from which the process died, and $rv & 128 reports whether or not there was a core dump.