Further shell quoting for space characters.
authorBrian T. Rice <briantrice@gmail.com>
Fri, 16 Apr 2010 14:12:59 +0000 (07:12 -0700)
committerBrian T. Rice <briantrice@gmail.com>
Fri, 16 Apr 2010 14:12:59 +0000 (07:12 -0700)
src/lib/platform.slate

index 1630648..e92b42d 100644 (file)
@@ -46,7 +46,7 @@ s@(String traits) escapeForShell
 [
   [| :result |
    s do: [| :char |
-     (';<>*|`&$!#()[]{}:\\\'"' includes: char) ifTrue: [result nextPut: $\\].
+     (';<>*|`&$!#()[]{}: \\\'"' includes: char) ifTrue: [result nextPut: $\\].
      result nextPut: char
    ]] writingAs: s
 ].