From f5744ca7aa99edc658152eea8895988642c69e48 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 26 Mar 2020 17:15:15 +1100 Subject: [PATCH] [test] use pkill instead of killall for running test windows --- integration_test/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {