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

"exit 1" in ruby code is silently dismissed #5162

Closed
jmarrec opened this issue Apr 22, 2024 · 0 comments · Fixed by #5166
Closed

"exit 1" in ruby code is silently dismissed #5162

jmarrec opened this issue Apr 22, 2024 · 0 comments · Fixed by #5166

Comments

@jmarrec
Copy link
Collaborator

jmarrec commented Apr 22, 2024

Issue overview

Due to this change a52f8e0

in test.rb, just put exit 1

openstudio test.rb

In 3.7.0, it was capturing the error, now it thinks it's the help command...

Current Behavior

Expected Behavior

Steps to Reproduce

Possible Solution

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version):
  • Version of OpenStudio (if using an intermediate build, include SHA):

Context

@jmarrec jmarrec added Triage Issue needs to be assessed and labeled, further information on reported might be needed severity - Minor Bug component - CLI component - Ruby bindings and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Apr 22, 2024
@kbenne kbenne self-assigned this Apr 22, 2024
jmarrec added a commit to jmarrec/OpenStudio that referenced this issue Apr 26, 2024
jmarrec added a commit that referenced this issue Apr 26, 2024
kbenne added a commit that referenced this issue May 2, 2024
Fix #5162 - Capture `exit` from Ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants