Help for this page
You can check all the failure possibilities by inspecting $? like this +: ... else { printf "child exited with value %d\n", $? >> 8; }