aiidateam / aiida-common-workflows

A repository for the implementation of common workflow interfaces across materials-science codes and plugins
https://aiida-common-workflows.readthedocs.io
MIT License
52 stars 30 forks source link

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

Closed sphuber closed 1 year ago

sphuber commented 1 year ago

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).