Skip to content

bug: need to escape spaces when invoking nautilus #23

Description

@genodeftest

Sorry, forgot to add description

If my project is located in a folder containing spaces or in a subfolder of a folder containing spaces, nautilus can not open the folder because it splits up the path.

Example:
project is located at "/home/user/A B/C D/"
as with 1.4.0 nautilus will be started with this command:

nautilus "/home/user/A B/C D/"

which is incorrect since all spaces need to be escaped to

nautilus "/home/user/A\ B/C\ D/"

instead of opening the correct path, nautilus tries to open 4 folders:
/home/user/A
/home/user/B
/home/user/C
/home/user/D
since every non-prefixed path is interpreted as path within ~ (/home/user/)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions