Skip to content

js_container / js_container - invalid RC on failure #12

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

Open
jgebal opened this issue Nov 1, 2019 · 0 comments
Open

js_container / js_container - invalid RC on failure #12

jgebal opened this issue Nov 1, 2019 · 0 comments
Assignees
Labels

Comments

@jgebal
Copy link

jgebal commented Nov 1, 2019

When running js_container from shell script I'd like to be able to intercept return code.
This is however not working correctly today because the sys.exit(1) used in thread is not propagated to parent (main process).

As a result, if any of actions taken on any of containers fails, the script outputs Error ... but the return code is 0.

So when scripting with examples - we can't handle exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants