The lower bits of the status code include flags to indicate if the process exited because of a signal or core dump. $? & 127 gives the signal number.
In reply to Re: return result from system ?
by iburrell
in thread return result from system ?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |