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