diff --git a/integration_test/common.js b/integration_test/common.js index 5bcc7e40e..90f231c71 100644 --- a/integration_test/common.js +++ b/integration_test/common.js @@ -98,7 +98,7 @@ module.exports = { const killStr = process.platform === 'win32' ? 'taskkill /im electron.exe /t /f' - : 'killall -9 electron'; + : 'pkill -f "node_modules/.bin/electron"'; return new Promise(resolve => { exec(killStr, (err, stdout, stderr) => { if (err) {