in reply to Re: how do I extract status from the response of waitpid ?
in thread how do I extract status from the response of waitpid ?

$? >> 8 is only meaningful if waitpid returned a value greater than zero and if $? != -1 && ($? & 0x7F) == 0.