Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Issue:
The run_terminal_cmd tool is prepending a “qс” prefix (appears to be Cyrillic characters) to every command executed through it, causing all commands to fail with CommandNotFoundException.
Actual Behavior:
Commands are executed with “qс” prefix: qсgit status, qсecho "test", qсpwd
All commands fail with error: The term 'qсgit' is not recognized as the name of a cmdlet, function, script file, or operable program. CommandNotFoundException
Affected Commands
First git statuscommand worked correctly (inconsistent behavior)
All subsequent commands fail: git diff,git log,git --version,echo "test",pwd,ls,dir
Character Analysis
The “qс” prefix appears to contain Cyrillic characters (possibly Unicode U+044F “я” + U+0441 “с” or similar) rather than Latin characters, suggesting an encoding or text processing issue in the command transmission layer.
Impact
- AI assistant cannot execute any terminal commands through
run_terminal_cmd - Workflow completely blocked when terminal automation is needed
- Manual command execution in terminal is the only workaround
- Affects custom rules that rely on automated command execution (e.g., conventional-commits.mdc)
Workaround
Manually copy and execute commands directly in PowerShell terminal outside of Cursor’s run_terminal_cmd tool.
Steps to Reproduce
Reproduction Steps
- Open Cursor on Windows with PowerShell as default shell
- Use AI assistant to execute any command via
run_terminal_cmdtool - Observe that all commands receive “qс” prefix
Expected Behavior
Commands should execute as provided without any prefix. For example: git status, echo "test", pwd
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.38 (system setup)
VSCode Version: 1.99.3
Commit: 3fa438a81d579067162dd8767025b788454e6f90
Date: 2025-10-29T20:45:40.883Z
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.26200
For AI issues: which model did you use?
Sonet 4.5
Additional Information
This issue was discovered while implementing a custom rule for conventional commits that required executing: git diff $(git merge-base HEAD main) HEAD. The command consistently fails with the “qс” prefix prepended.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor