shell_quote

Function shell_quote 

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

Status codes and keys are safe by construction, but a device name is whatever somebody typed into it. Everything that could carry a space or a quote goes through this before a shell sees it.