# Bug Report: dump_bash_state fails with PATH containing parentheses on Windows

Thanks for the detailed report! We will look into this, meanwhile this might help:

Try enabling Legacy Terminal Tool:

  1. Open Cursor Settings (Ctrl+Shift+J)
  2. Go to Agents tab → Inline Editing & Terminal
  3. Enable “Legacy Terminal Tool”
  4. Run Ctrl+Shift+P → “Terminal: Kill All Terminals”
  5. Fully restart Cursor

This workaround has resolved similar dump_bash_state syntax errors for other users (related topic).

Could you clarify: is this error happening in the Agent terminal (when AI runs commands) or in the regular integrated terminal when you type commands manually? That will help if further investigation is needed.