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
+1 -1
View File
@@ -310,7 +310,7 @@ export class DebugSelectorComponent extends Container {
const [cmd, ...args] = openArgs;
try {
Bun.spawn([cmd, ...args], { stdout: "ignore", stderr: "ignore" }).unref();
Bun.spawn([cmd, ...args], { stdout: "ignore", stderr: "ignore", windowsHide: true }).unref();
this.ctx.showStatus(`Opened: ${artifactsDir}`);
} catch (err) {
this.ctx.showError(`Failed to open artifact folder: ${err instanceof Error ? err.message : String(err)}`);