Skip to main content

shell

Function shell 

Source
pub fn shell<'a>(words: impl IntoIterator<Item = &'a str>) -> String
Expand description

Words joined for an on-screen preview, double-quoted when a word has whitespace or a quote of its own. This is a reading aid, not a shell command: it claims no single shell’s escaping rules, which differ between Unix shells and Windows’s.