Where does the bug appear (feature/product)?
- Cursor IDE
Describe the Bug
When using Cursor IDE on Windows, agent shell commands fail when Legacy Terminal Tool is disabled. The shell tool returns:
The shell command returned no exit status, so its result is unknown.
If Legacy Terminal Tool is enabled, the same commands work.
Steps to Reproduce
- Open Cursor IDE on Windows 11.
- Go to Agent settings and disable Legacy Terminal Tool.
- In agent chat, run a simple shell command (for example
echo hello). - Observe failure: “no exit status / result unknown.”
- Re-enable Legacy Terminal Tool.
- Run the same command again.
- Command succeeds (returns output and exit code 0).
Expected Behavior
Agent shell commands should run and return normal output/exit status even when Legacy Terminal Tool is disabled.
Screenshots / Screen Recordings
-
Attached screenshot of Agent settings page showing only
Legacy Terminal Toolunder terminal-related settings (no visible sandbox policy setting).
Operating System
- Windows 10/11 (Windows 11, build
10.0.26200)
Version Information
IDE:
- Version: 3.7.27
- VSCode Version: (from About Cursor on your machine)
- Commit: (from About Cursor on your machine)
CLI:
- Not applicable (issue is in IDE agent terminal tool path)
For AI issues: which model did you use?
- Codex 5.3 (agent)
For AI issues: add Request ID with privacy disabled
- Request ID:
f9a7046a-279b-47e5-ab48-6e8dc12daba1
Additional Information
- Tried: Reload Window, full Cursor restart, new chat, and Terminal: Kill All.
Terminal: Kill Allsometimes temporarily helps, but issue returns with legacy off.- Relevant log line seen during failures:
Sandbox policy 'workspace_readwrite' is not supported on this system... Windows sandbox helper only provides network proxy, not filesystem isolation - Also saw occasional transport warning near failures:
Received chunk for unknown stream.
Does this stop you from using Cursor?
- no

