# Terminal commands get stuck on running

**URL:** <https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553>\
**Category:** Bug Reports\
**Created:** [July 11, 2025, 6:54am UTC](https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553 "2025-07-11T06:54:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejasPhaveri](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tejasphaveri/32/106562_2.png) [@tejasPhaveri](https://forum.cursor.com/u/tejasPhaveri)\
**Post date:** [July 11, 2025, 6:54am UTC](https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553/1 "2025-07-11T06:54:22Z")

</div>

### Describe the Bug

Seems like the terminals in the chats are stuck on running way after the command finnished.

### Steps to Reproduce

“move theese files to a different folder” or somth idk

### Expected Behavior

not get stuck on loading

### Screenshots / Screen Recordings

 ![Screenshot 2025-07-10 235353.png](https://us1.discourse-cdn.com/cursor1/original/3X/4/6/460a765720d43aef0fd94ceac8af676486f7f2df.png)

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)  
VSCode Version: 1.99.3  
Commit: a8e95743c5268be73767c46944a71f4465d05c90  
Date: 2025-07-10T17:09:01.383Z  
Electron: 34.5.1  
Chromium: 132.0.6834.210  
Node.js: 20.19.0  
V8: 13.2.152.41-electron.0  
OS: Windows\_NT x64 10.0.26100

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![Oliver\_Michalik](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@Oliver\_Michalik](https://forum.cursor.com/u/Oliver_Michalik)\
**Post date:** [July 14, 2025, 7:42pm UTC](https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553/2 "2025-07-14T19:42:36Z")

</div>

This is a common issue, the only solution now is to click “Move to background” to make the agent continue working.

This bug should already be tracked by the Cursor devs.

> [@Terminal getting stuck, hangs, stalls forever, not displaying output in windows (auto-run agentic mode)](https://forum.cursor.com/t/terminal-getting-stuck-hangs-stalls-forever-not-displaying-output-in-windows-auto-run-agentic-mode/117747):
>
> Describe the Bug There are a lot of related posts/bugs about terminal not working properly, but none properly describes what is happening or offer solutions. The problem: When Agentic mode is running terminal commands, sometimes it does not show output and stalls forever, preventing the agent continuing working. I do not completely know how the terminal execution works in Cursor, bu it seems like it’s often trying to re-use the previous terminal to execute additional commands. This is when thi…

---

<div class="post-metadata">

**Author:** ![MrDebugger](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mrdebugger/32/31021_2.png) [@MrDebugger](https://forum.cursor.com/u/MrDebugger)\
**Post date:** [July 15, 2025, 3:51pm UTC](https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553/3 "2025-07-15T15:51:16Z")

</div>

Instead of Clicking “Move to Background”, I would suggest to click `Skip` as the command is already completed but the agent is not able to close the terminal thus getting stuck forever.

---

<div class="post-metadata">

**Author:** ![Oliver\_Michalik](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@Oliver\_Michalik](https://forum.cursor.com/u/Oliver_Michalik)\
**Post date:** [July 15, 2025, 9:40pm UTC](https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553/4 "2025-07-15T21:40:28Z")

</div>

Clicking “Skip” most of time ends all the agent’t work, it says “The user has cancelled the command. What do you want to do next?” and sometimes gives a few examples what it can do.

I have found clicking “Move to background” more effective, as the agent immediately continues working on the task without ending.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 6, 2025, 9:41pm UTC](https://forum.cursor.com/t/terminal-commands-get-stuck-on-running/116553/5 "2025-08-06T21:41:13Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
