diff --git a/app/plugins/install.js b/app/plugins/install.js index da322fbb..a4824a52 100644 --- a/app/plugins/install.js +++ b/app/plugins/install.js @@ -15,12 +15,11 @@ module.exports = { const cmd = [process.execPath, yarn].concat(args).join(' '); console.log('Launching yarn:', cmd); - cp.exec(cmd, { + cp.execFile(process.execPath, [yarn].concat(args), { cwd: plugs.base, env, - shell: true, timeout: ms('5m'), - stdio: ['ignore', 'ignore', 'inherit'] + maxBuffer: 1024 * 1024 }, err => { if (err) { cb(err);