[1.4.0.1] bug: need to escape spaces when invoking nautilus
Eclipse plugin that opens system console, file browser for selection
Brought to you by:
anb0s,
marcelschoen
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:
which is incorrect since all spaces need to be escaped to
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/)
Adding quotes to the path does not fix the problem.
Thank You for your report. I will fix this for 1.4.1.
It would be helpful if you can test it for me before release. If you want please send me an e-mail, i will provide beta version for you.
I've fixed nautilus command, but not sure if Open and Run commands are working with folders containing spaces?
These are the commands:
gnome-terminal --working-directory="{1}"
gnome-terminal --working-directory="{1}" --command=./''{3}''
Just released v1.4.1
Thanks for fixing this bug that fast.
Opening nautilus works fine now.
Opening terminal and starting Run does not work, they seem to have the same bug according to the error messages. Adding quotes does not work for that too. Gnome-terminal complains about non-existent folders/files.
Last edit: genodeftest 2013-04-05