X-Git-Url: https://arthur.barton.de/gitweb/?p=atom-ax-pipe.git;a=blobdiff_plain;f=lib%2Fpipe.coffee;h=94b5627eb539661bac953ed1fbd42e047d924488;hp=3a455eea73b5fcfd63a447972e5859077a8db463;hb=dae3882368a6cefd57e4f70a4fcc5131f2e0cf17;hpb=d7546bee1a1df969e902e47da5b2caaf022a1203 diff --git a/lib/pipe.coffee b/lib/pipe.coffee index 3a455ee..94b5627 100644 --- a/lib/pipe.coffee +++ b/lib/pipe.coffee @@ -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) ->