Fix the exec failure detection in Process