diff --git a/src/helpers.js b/src/helpers.js index 66ea449..edd1ddf 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -296,7 +296,9 @@ module.exports.executeAsync = (command, args=[]) => { }; if (working) { processOptions.cwd = working; - cmd = './' + cmd; + if (os.platform() !== 'win32') { + cmd = './' + cmd; + } } const process = new spawn(cmd, args, processOptions);