Allow shell to return non-zero exit codes rather than raise