Skip to main content

shell_quote

Function shell_quote 

Source
pub fn shell_quote(arg: &str) -> String
Expand description

Quote a single argument for inclusion in a shell command line.

Wraps in single quotes and escapes embedded single quotes the portable POSIX way (''\'').