Revision history [back]
Openstudio measure needs to access system variables
I am writing a measure that requires executing an external program. The external program location is determined by a windows environment variable. I am trying to access it using ruby ENV hash. This works fine when running the measure in a unittest but it doesn't work when running the measure inside the openstudio app.
Any ideas?
Openstudio measure needs to access system variables
I am writing a measure that requires executing an external program. The external program location is determined by a windows environment variable. I am trying to access it using ruby ENV hash. This works fine when running the measure in a unittest but it doesn't work when running the measure inside the openstudio app.
Any ideas?