From 45b52d585471af6cedcf64afa06a8ae68043336f Mon Sep 17 00:00:00 2001 From: liamcottle Date: Fri, 16 Aug 2024 21:30:45 +1200 Subject: [PATCH] python exe sometimes doesn't exit on macos, so use sigkill --- electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main.js b/electron/main.js index c2a591f..8166368 100644 --- a/electron/main.js +++ b/electron/main.js @@ -200,7 +200,7 @@ function quit() { // kill python process if(exeChildProcess){ - exeChildProcess.kill(); + exeChildProcess.kill("SIGKILL"); } // quit electron app