Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#890 Executable files with a whitespace can't be executed in terminal

1.2
closed-invalid
5
2014-08-10
2014-07-21
Sworddragon
No

I'm using PCManFM 1.2.1 and if an executable file has a whitespace in the name it is not possible to execute it with the option "Execute in Terminal". In my case the terminal will just appear and do nothing.

Discussion

    • labels: --> isn't related to libfm or pcmanfm
    • status: open --> closed-invalid
    • assigned_to: Lonely Stranger
     
  • Unfortunately this is again not a problem of PCManFM but terminal. You describe the behavior of lxterminal, it does not accept spaces anywhere. Terminals such as xterm, roxterm, lilyterm work like a charm. I'm sorry.

     
  • Sworddragon
    Sworddragon
    2014-08-09

    LXTerminal does accept whitespaces if they are escaped or protected with quotes. Is there a special reason why this doesn't work from PCManFM?

     
    Last edit: Sworddragon 2014-08-09
  • Well, I've tried the command:

    lxterminal -e '/home/andrej/tmp/tst/1 q'

    and I've got non-functional window, exactly how you described it. Replace lxterminal with xterm - and voila, it executed.

     
  • Sworddragon
    Sworddragon
    2014-08-10

    Well, I've tried the command:

    lxterminal -e '/home/andrej/tmp/tst/1 q'

    I was thinking about typing directly in the terminal but now I'm remembering this report which points already to the issue with -e: http://sourceforge.net/p/lxde/bugs/575/