mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
fix: add windowsHide: true to spawn in runCommandWithTimeout
Fixes flashing conhost.exe windows on Windows when exec module spawns child processes. The windowsHide: true option prevents orphaned conhost.exe processes and eliminates disruptive terminal window flashing. Closes #18613
This commit is contained in:
@@ -139,6 +139,7 @@ export async function runCommandWithTimeout(
|
||||
cwd,
|
||||
env: resolvedEnv,
|
||||
windowsVerbatimArguments,
|
||||
windowsHide: true,
|
||||
...(shouldSpawnWithShell({ resolvedCommand, platform: process.platform })
|
||||
? { shell: true }
|
||||
: {}),
|
||||
|
||||
Reference in New Issue
Block a user