I'm encountering a critical problem with my OpenClaw agent running on Windows (Windows_NT 10.0.19045 (x64), node v24.13.0, shell=powershell).
The Issue: The exec tool is consistently failing to capture any output from PowerShell commands. Even the most basic commands like ls, pwd, Test-Path, and Get-ChildItem execute without returning any information. This prevents the agent from performing any file system operations (reading, writing, listing directories, or diagnosing code).
Symptoms observed:
exec(command="ls <path>")->{"exec_response": {"output": "(no output)"}}exec(command="pwd")->{"exec_response": {"output": "(no output)"}}- This behavior is consistent across all PowerShell commands attempted.
Context:
- Operating System: Windows_NT 10.0.19045 (x64)
- Node.js Version: v24.13.0
- Agent Model: google/gemini-2.5-flash
- Shell: PowerShell
What I've tried/investigated:
- Attempted various PowerShell commands for directory listing and path testing.
- Conducted a web search which surfaced GitHub issues related to
exectool problems on Windows, including:- CMD syntax conflicts in PowerShell (#10868)
- Requests for native PowerShell mode (#6443)
- Troubleshooting "no output / stuck" issues potentially linked to proxy environment / process inheritance (#8057)