This commit is contained in:
Rooj Rin 2026-07-18 13:54:04 +07:00 committed by GitHub
commit 6583216b04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,9 @@ globalThis.Bun = {
timeout: options.timeout, timeout: options.timeout,
env: options.env, env: options.env,
cwd: options.cwd, cwd: options.cwd,
// Suppress the console window Windows allocates per child process;
// without this every spawn flashes a visible conhost window.
windowsHide: true,
}); });
return { return {
@ -91,6 +94,9 @@ globalThis.Bun = {
stdio, stdio,
env: options.env, env: options.env,
cwd: options.cwd, cwd: options.cwd,
// Suppress the console window Windows allocates per child process;
// without this every spawn flashes a visible conhost window.
windowsHide: true,
}); });
return { return {