Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Call sys.exit for launch command if process fails #298

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

sphuber
Copy link
Collaborator

@sphuber sphuber commented Feb 3, 2023

Fixes #289

For testing purposes it is convenient to know whether the process launched through the acwf launch commands finished successfully. To this end, the commands will now call sys.exit(1) if the process did not finish with a zero exit code (or excepted or was killed).

For testing purposes it is convenient to know whether the process
launched through the `acwf launch` commands finished successfully. To
this end, the commands will now call `sys.exit(1)` if the process did
not finish with a zero exit code (or excepted or was killed).
@sphuber sphuber force-pushed the fix/289/cli-launch-exit-code branch from 7af2de2 to 5af1594 Compare February 6, 2023 09:29
@sphuber sphuber merged commit bb9090a into master Feb 6, 2023
@sphuber sphuber deleted the fix/289/cli-launch-exit-code branch February 6, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return non-zero exit code when aiida-common-workflows launch workflow fails
1 participant