mirror of https://github.com/openclaw/openclaw.git
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:
parent
20957efa46
commit
32c66aff49
|
|
@ -139,6 +139,7 @@ export async function runCommandWithTimeout(
|
|||
cwd,
|
||||
env: resolvedEnv,
|
||||
windowsVerbatimArguments,
|
||||
windowsHide: true,
|
||||
...(shouldSpawnWithShell({ resolvedCommand, platform: process.platform })
|
||||
? { shell: true }
|
||||
: {}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue