From: moshee Date: Wed, 12 Nov 2014 17:35:03 +0000 (-0800) Subject: Forgot to put path in quotes. X-Git-Tag: v0.3.0~2 X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=dae3882368a6cefd57e4f70a4fcc5131f2e0cf17;p=atom-ax-pipe.git Forgot to put path in quotes. --- 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) ->