fix: added windowsHide option to child process spawn calls

- Added `windowsHide: true` option to all child process spawn calls to prevent console windows from appearing on Windows systems.
This commit is contained in:
can1357
2026-01-31 01:35:10 +01:00
parent ff8ec3426c
commit 7233c4c8af
13 changed files with 28 additions and 6 deletions
@@ -114,6 +114,7 @@ export async function runStatsCommand(cmd: StatsCommandArgs): Promise<void> {
Bun.spawn(openCommand === "cmd" ? ["cmd", "/c", "start", url] : [openCommand, url], {
stdout: "ignore",
stderr: "ignore",
windowsHide: true,
}).unref();
console.log("Press Ctrl+C to stop\n");