Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
The AI assistant successfully executes terminal commands but then hangs and becomes unresponsive. Commands run correctly on the user’s system, but the AI gets stuck during the cleanup/return process.
Steps to Reproduce
Steps to Reproduce:
- Ask the AI assistant to execute any terminal command
- The command executes successfully on the user’s system
- The AI assistant hangs and becomes unresponsive
- The AI assistant stops responding to further requests
Expected Behavior
The AI assistant should execute the command and return the results without hanging.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
AI Model:
Platform: Cursor
Model: Cursor AI Assistant
Environment: Cursor IDE
For AI issues: which model did you use?
AI Model:
Platform: Cursor
Model: Cursor AI Assistant
Environment: Cursor IDE
Additional Information
Actual Behavior:
The AI assistant executes the command successfully but hangs during the cleanup/return process, becoming unresponsive.
Technical Details:
• Commands execute successfully (user sees output)
• AI assistant hangs at consistent token counts (89-92 tokens)
• Issue occurs with all command types (simple, complex, background)
• Problem appears to be in the command execution tool’s cleanup process
Impact:
• AI assistant cannot execute terminal commands
• Reduces functionality and user experience
• Forces workarounds (manual command execution)
Workaround:
User must execute commands manually instead of having AI execute them directly
Does this stop you from using Cursor
No - Cursor works, but with this issue