Skip to main content

quote_powershell

Function quote_powershell 

Source
pub fn quote_powershell(arg: &str) -> String
Expand description

Quote a value for PowerShell the way zx does: empty -> '', safe words unchanged, otherwise single-quoted with embedded quotes doubled.