pub fn quote(arg: &str) -> String
Quote arg for a POSIX shell: bare when every character is one no shell treats specially, otherwise in single quotes (a ' inside becoming '\'').
arg
'
'\''