Terminal Command Ends Yet Not Detected

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

A command is ran (npm run dev specifically) by the agent, it finishes but the agent does not detect it, pressing Ctrl + C makes it result as “success” and it continues nicely.

Steps to Reproduce

No exact steps to reproduce as it’s happening randomly as I can see.

Expected Behavior

Once the command ends, the agent should continue with success instead of waiting.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.50 (user setup)
VSCode Version: 1.105.1
Commit: 56f0a83df8e9eb48585fcc4858a9440db4cc7770
Date: 2025-12-06T23:39:52.834Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

Request ID: 5c3327d9-a031-4447-a0f1-18c7cfcb74f4

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Could you update to version 2.2? We’ve made many improvements in this update and fixed a lot of bugs.

You can download it here: Download · Cursor
Or update via Help > Check for updates

Please check if the issue persists on the new version and let me know. If the bug remains, I’ll pass it to the engineering team right away.

1 Like