fix(windows): add windowsHide to detached spawn calls to suppress console windows (#44693)

The restart helper and taskkill spawn calls were missing windowsHide: true,
causing visible command prompt windows to flash on screen during gateway
restart and process cleanup on Windows.
This commit is contained in:
MoerAI
2026-03-13 16:40:26 +09:00
committed by Peter Steinberger
parent 9044a10c5f
commit 9da06d918f
3 changed files with 5 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ function runTaskkill(args: string[]): void {
spawn("taskkill", args, {
stdio: "ignore",
detached: true,
windowsHide: true,
});
} catch {
// Ignore taskkill spawn failures