# Cursor do not detect when command finished with the errro

**URL:** <https://forum.cursor.com/t/cursor-do-not-detect-when-command-finished-with-the-errro/158391>\
**Category:** Bug Reports\
**Tags:** terminal\
**Created:** [April 18, 2026, 7:25pm UTC](https://forum.cursor.com/t/cursor-do-not-detect-when-command-finished-with-the-errro/158391 "2026-04-18T19:25:54Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [April 20, 2026, 9:35am UTC](https://forum.cursor.com/t/cursor-do-not-detect-when-command-finished-with-the-errro/158391/6 "2026-04-20T09:35:33Z")

</div>

I can see the agent got stuck in “waiting for a command to finish” even though the terminal output shows the command completed. This is a different variant from what we traced in your [earlier thread](https://forum.cursor.com/t/cursor-often-stuck-after-git-commit/155997), where the issue was about the approval timeout. Here, the command ran and finished, but the agent didn’t detect the completion.

Could you share a **[Request ID](https://cursor.com/help/troubleshooting/reporting-bugs#how-do-i-find-my-request-id)** from this session? That will help us trace where the completion signal was lost.

You may also find this [related thread](https://forum.cursor.com/t/post-execution-delay-where-agent-remains-in-running-command-state-after-output-is-already-returned/151780) helpful, where other users reported the same symptom.

---

_[View the full topic](https://forum.cursor.com/t/cursor-do-not-detect-when-command-finished-with-the-errro/158391)._
