Method: Bio::Command.escape_shell
- Defined in:
- lib/bio/command.rb
.escape_shell(str) ⇒ Object
Escape special characters in command line string.
Arguments:
-
(required) str: String
- Returns
-
String object
68 69 70 71 72 73 74 75 |
# File 'lib/bio/command.rb', line 68 def escape_shell(str) case RUBY_PLATFORM when /mswin32|bccwin32/ escape_shell_windows(str) else escape_shell_unix(str) end end |