We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try and use sys.exit I get a segmentation fault. This script illustrates the issue
sys.exit
import sys import OpenCOR if __name__ == "__main__": sys.exit(3)
When I run on Ubuntu with the following command:
./OpenCOR-2019-05-23-Linux/bin/OpenCOR -c PythonRunScript::script test.py
The resulting output is
Segmentation fault
with a return code of 139.
The text was updated successfully, but these errors were encountered:
Return sys.exit() result code from running CLI Python script (fixes…
sys.exit()
4478cf5
… dbrnz/opencor/#27).
@hsorby, this is now awaiting opencor/opencor#2107.
Sorry, something went wrong.
Fixed in the new release here. OpenCOR now returns the exit code (set by sys.exit()) to the invoking shell.
No branches or pull requests
When I try and use
sys.exit
I get a segmentation fault. This script illustrates the issueWhen I run on Ubuntu with the following command:
The resulting output is
with a return code of 139.
The text was updated successfully, but these errors were encountered: