Run in Terminal fails for gnome-terminal when path contains whitespace
outis151 opened this issue · 0 comments
outis151 commented
Distribution
Arch linux
Package version
6.2.0
Frequency
Always
Bug description
When trying to open a script using nemo and selecting the Run in Terminal option, gnome terminal opens and displays the following error message:
There was an error creating the child process for this terminal
Failed to execute child process “/home/user/Desktop/test\ whitespace/start_container.sh”: Failed to execve: No such file or directory
This only happens when the folder has spaces in its name ("test whitespace" does not work, while "test-whitespace" does)
Steps to reproduce
- Use gnome-terminal as the default terminal application
- Create a folder with a name containing spaces
- Put a script file inside
- Open it using the "Run in Terminal" option.
Expected behavior
No error message is displayed and the terminal launches
Additional information
This may be related to this recent change: 88ec5d2#diff-b935768961e55a11a452802c307fe494141651a18f400d6178c921f0729e198fR104