# File 'lib/redmine/utils/shell.rb', line 25defshell_quote(str)ifRedmine::Platform.mswin?'"'+str.gsub('"','\\"')+'"'else"'"+str.gsub("'","'\"'\"'")+"'"endend
.shell_quote_command(command) ⇒ Object
33
34
35
36
37
38
39
# File 'lib/redmine/utils/shell.rb', line 33defshell_quote_command(command)ifRedmine::Platform.mswin?&&RUBY_PLATFORM=='java'commandelseshell_quote(command)endend