Read system and you'll know
Read IPC::System::Simple and you'll know
In reply to Re^5: to get exact exit status value by Anonymous Monk in thread to get exact exit status value by ansh batra