Return ExitCode from ExitStatus instead of BatchStatus