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.
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:
since every non-prefixed path is interpreted as path within ~ (/home/user/)
I've uploaded a new version, which should fix this issue. Could you please install 1.4.0 and verify the fix?
Actually, the problem could not be fixed by simply adding escape backslashes. For the record, the solution was to use
Otherwise, Runtime.exec splits the command string at every whitespace before even handing it over to the shell - no amount of wrapping or escaping will help that.
Fixed. Thanks for your work!