Description
On native Windows (not WSL), commands spawned via the exec tool open visible command windows that steal focus from whatever the user is actively working on. This is disruptive during normal use — typing gets interrupted, windows flash, etc.
Current behavior
exec tool spawns processes that create visible console windows on Windows
- These windows steal focus from the active application
- Particularly disruptive during heartbeat checks when the user is working
Expected behavior
All exec spawns should use windowsHide: true (or equivalent) by default on Windows, so command windows never appear or steal focus.
Notes
- ACP agent spawns and daemon processes already use
windowsHide: true — this is just missing for regular exec calls
- Platform: Windows 11 (MINGW64_NT-10.0-26200), native install (not WSL)
- OpenClaw version: v2026.3.13
Environment
- OS: Windows 11 (build 26200)
- Node: v24.14.0
- Shell: PowerShell
Description
On native Windows (not WSL), commands spawned via the
exectool open visible command windows that steal focus from whatever the user is actively working on. This is disruptive during normal use — typing gets interrupted, windows flash, etc.Current behavior
exectool spawns processes that create visible console windows on WindowsExpected behavior
All exec spawns should use
windowsHide: true(or equivalent) by default on Windows, so command windows never appear or steal focus.Notes
windowsHide: true— this is just missing for regularexeccallsEnvironment