Powershell hangs if running multiple agents

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

if I have multiple agents running and they are all trying to use powershell then powershell will hang if multiple agents try to call it at the same time

Steps to Reproduce

use multiple agents (chats) and try to run powershell in each - if they collide at the same time then powershell hangs for both/all

Expected Behavior

powershell should always resolve instead of hanging for a response

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (system setup)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

auto

Additional Information

if I cancel the powershell then the agents can continue and will either retry the powershell or see the result (ie it was successful but response hook never returned by powershell)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. It looks like a known Windows issue with detecting command completion in the agent terminal.

Please check:

Could you please share:

  • Request ID of the hanging calls (Privacy Mode off) - how to get it: Getting a Request ID | Cursor Docs
  • a screenshot of the hanging state
  • confirmation if it reproduces on 1 agent or only with multiple

Let me know if this helped. If not, I’ll pass it to the team.

the calls work 80% of the time

the 20% of the time they do not work is when they collide with each other because I have multiple agents trying to use powershell at the same time

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