From 8398bad07fde0f8695c40584e3871536845cde4c Mon Sep 17 00:00:00 2001 From: John Haley Date: Thu, 20 Nov 2014 16:07:45 -0700 Subject: [PATCH] Added " around python path to help fix issues with spaces in path --- install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.js b/install.js index 450e4b47f..6bd410b16 100644 --- a/install.js +++ b/install.js @@ -208,7 +208,7 @@ var dependencies = Q.allSettled([ // Build the native module using node-gyp. .then(function() { console.info("[nodegit] Building native node module."); - var pythonFlag = " --python " + python; + var pythonFlag = " --python \"" + python + "\""; return Q.nfcall(exec, systemPath([ ".", "node_modules", ".bin", "node-gyp clean configure build" + pythonFlag