-
Notifications
You must be signed in to change notification settings - Fork 192
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
Fix #5108 - quote call to ExpandObjects for paths with spaces #5109
Conversation
@@ -157,7 +157,7 @@ void OSWorkflow::runEnergyPlus() { | |||
// TODO: workflow-gem was manually running expandObjects prior to the potential serialization to json | |||
// Should we rather pass -x to the E+ cmd line? | |||
if (!workflowJSON.runOptions()->skipExpandObjects()) { | |||
const std::string cmd = openstudio::toString(runDirResults.expandObjectsExe.native()); | |||
const std::string cmd = fmt::format("\"{}\"", openstudio::toString(runDirResults.expandObjectsExe.native())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expandObjectsExe is infered from getEnergyPlusDirectory which uses getEnergyPlusExecutable which will use ENERGYPLUS_EXE_PATH (as long as it's not running from the build dir)
e87315a
to
156fc09
Compare
CI Results for 156fc09:
|
@chriswmackey binary is above |
Thanks, @jmarrec . |
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. |
Pull request overview
Before:
After:
$ "/Users/julien/Downloads/temp/test os380fix/bin/openstudio" run --style-stdout --show-stdout -w workflow.osw
Pull Request Author
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.