Function shlex::quote

source ·
pub fn quote(in_str: &str) -> Cow<'_, str>
Expand description

Given a single word, return a string suitable to encode it as a shell argument.