shell_escape

Function shell_escape 

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

Shell-escape a value for safe embedding in export K="V". Strips null bytes (C string truncation), escapes shell metacharacters.