Skip to main content

shell_word

Function shell_word 

Source
pub(crate) fn shell_word(path: &Path) -> String
Expand description

A path to paste into a command: in double quotes when it contains whitespace, which POSIX shells, PowerShell and cmd all read as one argument.