From 7142cf6395841f70d2241234b3c712e3e235a64e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 6 May 2026 05:39:37 +0200 Subject: [PATCH] Update process exit logic when handling termination signals --- scripts/run-tauri-dev.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-tauri-dev.cjs b/scripts/run-tauri-dev.cjs index f21ac77..38f5df7 100644 --- a/scripts/run-tauri-dev.cjs +++ b/scripts/run-tauri-dev.cjs @@ -108,7 +108,7 @@ async function launchTauri() { stopSpawnedBackend() if (signal) { - process.kill(process.pid, signal) + process.exit(signal === 'SIGINT' || signal === 'SIGTERM' ? 0 : 1) return }