openclaw - 💡(How to fix) Fix exec tool returns EPERM on Windows, all commands fail [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#71717Fetched 2026-04-26 05:09:24
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

在 Windows 11 上,所有通过 exec 工具执行的命令都立即失败,错误信息为 spawn EPERM

Root Cause

在 Windows 11 上,所有通过 exec 工具执行的命令都立即失败,错误信息为 spawn EPERM

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

在 Windows 11 上,所有通过 exec 工具执行的命令都立即失败,错误信息为 spawn EPERM

Steps to reproduce

  1. 安装 openclaw 并完成配置
  2. 通过飞书或 web 界面发送任何命令
  3. exec 工具返回错误: spawn EPERM

Expected behavior

NOT_ENOUGH_INFO

Actual behavior

OpenClaw CLI 本身是正常运行的(openclaw --version 能出来),但 agent 里的 exec 工具一直报 EPERM。

OpenClaw version

2026.4.23

Operating system

Windows 11

Install method

npm install -g openclaw@latest

Model

minmax

Provider / routing chain

openclaw -> minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The spawn EPERM error on Windows 11 when executing commands through the exec tool may be related to permission issues or compatibility problems with the openclaw version.

Guidance

  • Verify the permissions of the directory where openclaw is installed and ensure that the user running the command has sufficient permissions.
  • Check if there are any known issues or compatibility problems with openclaw version 2026.4.23 on Windows 11.
  • Investigate if the exec tool is properly configured and if there are any environment variables or settings that could be causing the issue.
  • Consider testing the openclaw command with a different version or on a different operating system to isolate the issue.

Notes

The provided information is limited, and without more details about the environment, configuration, or logs, it's challenging to provide a more specific solution.

Recommendation

Apply workaround: Try running the command with elevated privileges or modifying the permissions of the directory where openclaw is installed to see if it resolves the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

NOT_ENOUGH_INFO

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix exec tool returns EPERM on Windows, all commands fail [1 participants]