-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
Windows: exec spawns steal focus from active window #51837
Copy link
Copy link
Open
Description
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
exectool 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 regularexeccalls - 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.