Public bug reported: Scripts cannot be executed from PCManFM when the file path contains spaces.
For example, I have a folder called "/storage/Movies & Shows" and a file at "/storage/Movies & Shows/rename.sh" which is set to be executable. When I double-click on the file, and I click "Execute in Terminal", I get the two messages, each say "Failed to execute child process "/storage/Movies" (No such file or directory)" as seen in the attachment. If I close each window, I get a blank Terminal, leaving 2 Terminals left over in total. Imgur album showing the steps and error: https://imgur.com/a/zohcM What I expected to happen: The script would be executed in a Terminal. What happened instead: The script could not be found because the file path contains spaces. This bug should be easy enough to fix, all that would need is to add quotes around the file path of the command that runs the executables. Temporary work-around: Tools -> Open Current Folder in Terminal -> Run the file manually. Xubuntu 16.04 LTS Description: Ubuntu 16.04 LTS Release: 16.04 apt-cache policy pcmanfm pcmanfm: Installed: 1.2.4-1 Candidate: 1.2.4-1 Version table: *** 1.2.4-1 500 500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: pcmanfm (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Screenshot of the error dialogs" https://bugs.launchpad.net/bugs/1600686/+attachment/4698614/+files/3.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1600686 Title: Scripts cannot be executed when the file path contains spaces To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1600686/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
