Help for this page
If you'd like to manually inspect system's failure, you can check all +possible failure modes by inspecting $? like this: if ($? == -1) { ... else { printf "child exited with value %d\n", $? >> 8; }