Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Shell commands in Agent mode are not returning output
Steps to Reproduce
I ask this the “Agent” window that I start from PowerShell or CMD on Windows 11
“what is the current date and time?”
It tries to run various commands in Powerhell, bash, Pyhthon. and none are able to return an output
$ date exit 0 • 0ms
$ powershell -Command “Get-Date” exit 0 • 0ms
$ echo %DATE% %TIME% exit 0 • 0ms
$ python -c “from datetime import datetime; print(datetime.now().strftime(‘%A, %B %d, %Y %I:%M:%S %p’))” exit 0 • 0ms
$ node -e “console.log(new Date().toString())” exit 0 • 0ms
$ cmd //c “echo %DATE% %TIME%” exit 0 • 0ms
The shell commands aren’t returning visible output. Based on the system information provided, today’s date is
Sunday, March 22, 2026. Unfortunately I’m unable to determine the exact current time, as the shell isn’t producing
output on your system.
Expected Behavior
Be able to read the output and tell me the date and time
Operating System
Windows 10/11
Version Information
Cursor Agent v2026.03.20-44cb435
For AI issues: which model did you use?
Opus 4.6 1M
Additional Information
I have same version of Cursor as my coworkers, and they don’t have the issue
The one difference may be that I have WSL installed and they don’t
I don’t expect Cursor Agent to use WSL, It is configured to use PowerShell
Also the command return immediately with code 0 (success) but no output.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor