]> arthur.barton.de Git - atom-ax-pipe.git/commitdiff
Forgot to put path in quotes.
authormoshee <moshee@displaynone.us>
Wed, 12 Nov 2014 17:35:03 +0000 (09:35 -0800)
committermoshee <moshee@displaynone.us>
Wed, 12 Nov 2014 17:35:03 +0000 (09:35 -0800)
lib/pipe.coffee

index 3a455eea73b5fcfd63a447972e5859077a8db463..94b5627eb539661bac953ed1fbd42e047d924488 100644 (file)
@@ -26,7 +26,7 @@ module.exports =
       stdout = ''
       stderr = ''
 
-      commandString = "cd #{atom.project.path} && #{commandString}"
+      commandString = "cd '#{atom.project.path}' && #{commandString}"
       proc = spawn process.env.SHELL, ["-l", "-c", commandString]
 
       proc.stdout.on 'data', (text) ->