Hey, thanks for the report. This is a known issue on Windows. It happens when the Agent runs commands in the terminal and gets an incorrect exit code that can’t fit into an int32 during serialization.
Try switching from PowerShell to Command Prompt:
- Fully close Cursor
- Open Settings
Ctrl+, - Find
terminal.integrated.defaultProfile.windows - Set it to “Command Prompt” instead of PowerShell
- Restart Cursor
Honestly, this workaround doesn’t always help, especially with long commands. If it doesn’t work, let me know.
Related threads: