Hello Unmet!
I am currently writing a python GUI to overlay the OS CLI and need some advice on how to evoke a system call with the parameters and workflow.osw file. This issue that I am finding is that when I use a Python system call, the model does not successfully run. When I use the same call in a ruby file, the model runs perfectly.
These are the commands from both of my scripts:
Python: subprocess.run("openstudio run -w MedOfficeSeed\modified.osw")
Ruby: system 'openstudio run -w MedOfficeSeed\workflow.osw'
I believe the problem could be rooted in the ruby dependency that Open Studio has. The CLI also works normally when I use the cmd prompt outside of my GUI application.
I know this question may be out of context from the bulk of the queries on here but was hoping someone could lend some advice. I would really like to avoid writing the GUI in Ruby!
Thank you, Particle Swarm