lib/fairdom/openbis_api/java_execution.rb in openseek-api-0.17.1 vs lib/fairdom/openbis_api/java_execution.rb in openseek-api-0.17.2
- old
+ new
@@ -19,10 +19,10 @@
end
private
def execute_command(options)
- "#{java_root_command} -#{query_object.command_option_key} {#{command_from_options(options)}}"
+ "#{java_root_command} -#{query_object.command_option_key} '{#{command_from_options(options)}}'"
end
def command_from_options(options)
options.collect do |key, value|
"%#{key}%:%#{value.tr(' ', '+')}%"