hets.rb revision 705933deb08bc4269e8c08d50143af3cb5c1c670
ENV[key.upcase] = first_which_exists value if key != 'hets_path'
end
end
array.each do |path|
return path if File.exists? path
end
end
end
# Runs hets with input_file and returns XML output file path.
command = "#{config.path} -o xml -v2 #{output_path} '#{input_file}' 2>&1"
Rails.logger.debug command
status = `#{command}`
end
end
end