Skip to main content

shell_argument

Function shell_argument 

Source
pub fn shell_argument(value: &str) -> String
Expand description

Quote a value for a POSIX shell.

Single quotes suppress every expansion, so only the closing quote itself needs handling.