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:
@@ -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)}`);
|
||||
|
||||
Reference in New Issue
Block a user