Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The AI assistant in Cursor IDE automatically adds an incorrect “c” prefix to Python commands, causing terminal execution failures.
Steps to Reproduce
Ask the AI assistant to run a Python command
The assistant uses the run_terminal_cmd tool
The command is automatically modified from py to cpy
Terminal returns: ‘cpy’ is not recognized as a command
Expected Behavior
Commands should execute as py -c “…”
Terminal should successfully run Python commands
No automatic prefix modification should occur
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.4.5 (user setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Additional Information
When opening the cursor, the first 1-2 times the commands are executed without a bug, but then the cursor starts adding the letter “c”.
Does this stop you from using Cursor
No - Cursor works, but with this issue