Agent can’t run commands inside the chat. It keeps saying spawn C:\Program Files\PowerShell\7\pwsh.exe ENOENT even if PowerShell is located exactly there.
Steps to Reproduce
Ask Agent to run any code line.
Expected Behavior
Agent should run code in PowerShell
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
This should fix the ENOENT error and let the Agent run commands properly.
The new terminal doesn’t correctly respect Windows terminal profiles. The Legacy Terminal Tool is a temporary workaround while the team fixes the root bug.