diff --git a/src/extraction/wasm-runtime-flags.ts b/src/extraction/wasm-runtime-flags.ts index e44c84d8..a2e5f0bf 100644 --- a/src/extraction/wasm-runtime-flags.ts +++ b/src/extraction/wasm-runtime-flags.ts @@ -97,6 +97,7 @@ export function relaunchWithWasmRuntimeFlagsIfNeeded(scriptPath: string): void { const argv = buildRelaunchArgv(scriptPath, process.argv.slice(2)); const result = spawnSync(process.execPath, argv, { stdio: 'inherit', + windowsHide: true, env: { ...process.env, [RELAUNCH_GUARD_ENV]: '1', [HOST_PPID_ENV]: String(process.ppid) }, });