Method: OpenStudio::Workflow::Util::IO#popen_command

Defined in:
lib/openstudio/workflow/util/io.rb

#popen_command(command) ⇒ Object



60
61
62
63
64
65
66
# File 'lib/openstudio/workflow/util/io.rb', line 60

def popen_command(command)
  result = command
  if is_windows?
    result = command.tr('/', '\\')
  end
  return result
end