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
497 stars 190 forks source link

Fix #5108 - quote call to ExpandObjects for paths with spaces #5109

Closed jmarrec closed 6 months ago

jmarrec commented 6 months ago

Pull request overview

ln -sf /Applications/EnergyPlus-23-2-0 "energy plus2320"
export ENERGYPLUS_EXE_PATH="$(pwd)/energy plus2320/energyplus"
openstudio run --style-stdout --show-stdout -w workflow.osw

Before:

sh: /Users/julien/Downloads/temp/5108/energy: No such file or directory
[openstudio.workflow.OSWorkflow] <Warn> ExpandObjects returned a non-zero exit code (32512).

After:

$ "/Users/julien/Downloads/temp/test os380fix/bin/openstudio" run --style-stdout --show-stdout -w workflow.osw

ExpandObjects Started.
No expanded file generated.
ExpandObjects Finished. Time:     0.014

Pull Request Author

Labels:

Review Checklist

This will not be exhaustively relevant to every PR.

ci-commercialbuildings commented 6 months ago

CI Results for 156fc098c5b355103cabeba2b3ffa5efad0e5750:

jmarrec commented 6 months ago

@chriswmackey binary is above

chriswmackey commented 6 months ago

Thanks, @jmarrec . Clicking on the .exe doesn't seem to start the download for me. Is there something that I'm missing here?

chriswmackey commented 6 months ago

Nevermind. I think it was just a bothersome security feature in Chrome that was not letting my download executables from addresses that didn't start with https. I have the exe now.