Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
The cursor CLI command no longer properly handles file paths containing spaces. It used to work fine with v1.6, but now it doesn’t work correctly with any version.
Steps to Reproduce
$ cursor ~/my\ project/
Expected Behavior
Cursor should open with a single folder: my project
Actual Behavior
Cursor opens with two files:
- An empty file named
my - An empty file named
project
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.47
VSCode Version: 1.105.1
Commit: 2d3ce3499c15efd55b6b8538ea255eb7ba4266b0
Date: 2025-12-04T02:31:50.567Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0
Additional Information
I reported a bug when v1.7 was released, but it still hasn’t been fixed. I’m really having trouble editing Git commit messages with Cursor in a folder includes spaces.
Does this stop you from using Cursor
Yes - Cursor is unusable