care for spaces in directory name (in cd-command)
authorClaus Gittinger <cg@exept.de>
Mon, 25 Sep 2000 14:57:07 +0200
changeset 5624 fd80180ce3e2
parent 5623 ce4c02168253
child 5625 6f178694949b
care for spaces in directory name (in cd-command)
PipeStream.st
--- a/PipeStream.st	Sun Sep 24 13:25:34 2000 +0200
+++ b/PipeStream.st	Mon Sep 25 14:57:07 2000 +0200
@@ -583,7 +583,7 @@
         OperatingSystem isUNIXlike ifTrue:[
             aDirectory notNil ifTrue:[
                 "/ unix - prepend a 'cd' to the command
-                realCmd := 'cd ' , aDirectory asFilename name, '; ' , aCommandString.
+                realCmd := 'cd "' , aDirectory asFilename name, '"; ' , aCommandString.
             ] ifFalse:[
                 realCmd := aCommandString
             ].
@@ -716,6 +716,6 @@
 !PipeStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/PipeStream.st,v 1.86 2000-07-25 14:13:57 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/PipeStream.st,v 1.87 2000-09-25 12:57:07 cg Exp $'
 ! !
 PipeStream initialize!