We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7599c commit 23a526fCopy full SHA for 23a526f
capsul/process/process.py
@@ -783,6 +783,12 @@ def run_from_commandline(process_definition):
783
with open(out_param_file, 'w') as f:
784
json.dump(json_utils.to_json(output_params), f)
785
786
+ # if there was no exception, we assume the process has succeeded.
787
+ # sys.exit(0)
788
+ # no error, do a dirty exit, but avoid cleanup crashes after the
789
+ # process has succeeded...
790
+ os._exit(0)
791
+
792
def get_log(self):
793
""" Load the logging file.
794
0 commit comments