Merge remote-tracking branch 'origin/1.1.x_branch' into 1.2.x_branch

This commit is contained in:
2020-02-11 19:43:32 -06:00

View File

@@ -296,8 +296,10 @@ module.exports.executeAsync = (command, args=[]) => {
}; };
if (working) { if (working) {
processOptions.cwd = working; processOptions.cwd = working;
if (os.platform() !== 'win32') {
cmd = './' + cmd; cmd = './' + cmd;
} }
}
const process = new spawn(cmd, args, processOptions); const process = new spawn(cmd, args, processOptions);
const pid = process.pid; const pid = process.pid;