-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
[Bug]: [Windows] exec allowlist auto-execution not supported on Windows (win32) #59481
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
On Windows, even when adding an allowlist pattern with openclaw approvals allowlist add --agent main "*", exec commands still require manual approval. The warning message states:
Steps to reproduce
- Install OpenClaw 2026.4.1 on Windows
- Run
openclaw approvals allowlist add --agent main "*"to set allowlist - Send a message to the agent via any channel (WeChat, webchat, etc.)
- The agent attempts to use exec tool (e.g.,
Get-Date) - Observe: approval prompt appears in terminal, not accessible from mobile/headless channel
- Even with allowlist set to
*, exec still requires manual terminal approval
Expected behavior
On Linux/macOS, after running openclaw approvals allowlist add --agent main "*", exec commands run automatically without requiring manual approval in the terminal.
The same behavior should work on Windows, allowing exec commands to auto-execute from any channel (WeChat, Signal, webchat) without requiring terminal-based approval.
Actual behavior
After setting allowlist to * with openclaw approvals allowlist add --agent main "*", every exec command still requires manual approval via terminal. The warning message displayed is:
The approval prompt only appears in the local terminal window, making it impossible to approve exec commands from mobile chat apps (WeChat, Signal) or any headless channel.
OpenClaw version
2026.4.1
Operating system
Windows11
Install method
No response
Model
minimax
Provider / routing chain
openclaw-weixin -> openclaw gateway (ws://127.0.0.1:18789) -> minimax-portal/MiniMax-M2.7
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response