NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
496 stars 190 forks source link

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

Closed jmarrec closed 5 months ago

jmarrec commented 5 months ago

Issue overview

Due to this change https://github.com/NREL/OpenStudio/commit/a52f8e00bf8cdfacd316d2c6e249b94d81fa7f9b

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

1. 2. 3. 4.

Possible Solution

Details

Environment

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

Context