Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
When I run
cursor-agent -p -y "some instruction"
the agent hangs for N seconds at the end instead of exiting
Steps to Reproduce
cursor-agent -p -y "some instruction"
Expected Behavior
Terminates immediately when finishes to run instructions
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
$ cursor-agent -v
2025.08.15-dbc8d73
Does this stop you from using Cursor
No - Cursor works, but with this issue