exit($? & 0x7F ? ($? & 0x7F) | 0x80 : $? >> 8); [download]
In reply to Re: Exit codes and signals by ikegami in thread Exit codes and signals by Anonymous Monk