# File 'lib/redmine/utils.rb', line 73defshell_quote(str)ifRedmine::Platform.mswin?'"'+str.gsub(/"/,'\\"')+'"'else"'"+str.gsub(/'/,"'\"'\"'")+"'"endend
.shell_quote_command(command) ⇒ Object
81
82
83
84
85
86
87
# File 'lib/redmine/utils.rb', line 81defshell_quote_command(command)ifRedmine::Platform.mswin?&&RUBY_PLATFORM=='java'commandelseshell_quote(command)endend