diff --git a/proptools/escape.go b/proptools/escape.go index 4ef10f0..9443a95 100644 --- a/proptools/escape.go +++ b/proptools/escape.go @@ -122,4 +122,8 @@ func NinjaAndShellEscape(s string) string { return ShellEscape(NinjaEscape(s)) } +func NinjaAndShellEscapeIncludingSpaces(s string) string { + return ShellEscapeIncludingSpaces(NinjaEscape(s)) +} + var singleQuoteReplacer = strings.NewReplacer(`'`, `'\''`)