Can not execute long-time command correctly

1、bug description

I try to run a unit test and Maven takes a long time to compile
It seems that the cursor will automatically end the wait and ask me if I want to wait for the compilation results.
I answered and it continues
Then the cursor repeatedly entered the command and did not recognize the PowerShell prompt, and fell into a fruitless wait.

2、reproduce the bug
it is easy to reproduced the bug if exexution time of last command is long enough

3、screenshot

4、myoperating system and your Cursor version
windows10
cursor version 0.45.11

5、Tell us if the issue stops you from using Cursor.
yes,I need the cursor to run tests and read the error information and automatically fix it, instead of me manually participating in this long cycle

from what i can notice from your screenshot, it’s the command you’re running that’s asking for a confirmation to proceed ahead, and not cursor. tell me if i’m wrong but i think you’ll have to do this manually until they add this capability to agent mode

or maybe have you tried turning on the YOLO mode in settings? it’ll let the agent run these commands itself without your confirmation. maybe that could help

thanks. I have opened the yolo mode and enable agent composer iterate on lints.
Other command which execution time is short can be executed correctly.

1 Like

good to know it works for you now!

:sob:I have done this before I posted.
It only works for some commands with short execution time.
Does not work for ‘mvn compile’ command in large projects because of the long execution time.