Describe the Bug
Where does the bug appear?
Cursor IDE — Agent / Composer shell tool (background terminal).
Integrated terminal works fine.
Environment
- OS: Windows 10/11, build
[e.g. 10.0.29595] - Cursor:
[Help → About → version, e.g. 3.6.33] - Shell (integrated): PowerShell 7.6.2 (
C:\Program Files\PowerShell\7\pwsh.exe) - Workspace:
W:\WINX(also tested fromC:\Users\charl) - Release track: was
dev, nowdefault - Legacy Terminal Tool: tried ON and OFF (both failed)
Describe the bug
When the agent runs any shell command (even echo cursor-terminal-test), the command does not return stdout/stderr to the agent. The background terminal log shows only metadata (pid, cwd, command, running_for_ms) — no output and often no exit_code. Commands time out (~15–25s) and get backgrounded.
The same command in Terminal → New Terminal returns instantly.
Actual behavior
-
Agent: hang or background after timeout; empty output
-
Agent terminal log example:
--- pid: 27092 cwd: "W:\\WINX" command: "echo cursor-terminal-test" running_for_ms: 25107 ---
Steps to Reproduce
- Open Cursor on Windows with any workspace (e.g.
W:\WINX). - In Agent / Chat, ask:
Run echo cursor-terminal-test - Observe the agent’s background terminal: hollow/running indicator, no output.
- Open integrated terminal (
pwsh), run:echo cursor-terminal-test - Compare: integrated prints
cursor-terminal-testimmediately; agent never captures output.
Expected Behavior
Agent shell tool runs the command, returns stdout (cursor-terminal-test) and exit code 0 within ~1 second.
Operating System
Windows 10/11
Version Information
Version: 3.6.33 (system setup)
VS Code Extension API: 1.105.1
Commit: 453f0b5a181a2308f4194369774059e533143520
Date: 2026-06-01T01:43:45.348Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.220
OS: Windows_NT x64 10.0.29595
For AI issues: which model did you use?
Auto…
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor

