Skip to content

[Bug]: [Windows] exec allowlist auto-execution not supported on Windows (win32) #59481

@liuz0010

Description

@liuz0010

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

  1. Install OpenClaw 2026.4.1 on Windows
  2. Run openclaw approvals allowlist add --agent main "*" to set allowlist
  3. Send a message to the agent via any channel (WeChat, webchat, etc.)
  4. The agent attempts to use exec tool (e.g., Get-Date)
  5. Observe: approval prompt appears in terminal, not accessible from mobile/headless channel
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions