Linux package: quoted filenames with spaces specified on the CLI do not open correctly

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I have Cursor installed from the recent dpkg for Ubuntu. When I use the CLI to open a file with spaces, e.g., cursor "X Y Z", it opens three tabs for X Y and Z instead.

Steps to Reproduce

touch "X Y"
cursor "X Y"

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.52
VSCode Version: 1.99.3
Commit: 9675251a06b1314d50ff34b0cbe5109b78f848c0
Date: 2025-10-17T01:41:03.967Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-33-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue and it’s already been escalated to the developers.

Your issue has the same root cause as this thread: Cursor as git editor failing to handle paths with spaces

The problem is the CLI wrapper script’s argument handling with eval. The team is aware and working on a fix. I’ve linked your report to add the Linux dpkg package context.

In the meantime, use paths without spaces or open files from within Cursor as a workaround.