quote

Function quote 

Source
pub fn quote(s: &str) -> String
Expand description

Quote a string for use in a shell command. This wraps the string in single quotes and escapes any existing single quotes.