mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 21:11:03 +00:00
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:
committed by
Peter Steinberger
parent
9044a10c5f
commit
9da06d918f
@@ -83,6 +83,7 @@ function runTaskkill(args: string[]): void {
|
||||
spawn("taskkill", args, {
|
||||
stdio: "ignore",
|
||||
detached: true,
|
||||
windowsHide: true,
|
||||
});
|
||||
} catch {
|
||||
// Ignore taskkill spawn failures
|
||||
|
||||
Reference in New Issue
Block a user