! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"exo-open --launch TerminalEmulator foobar --help" fails to run "foobar --help"
Status:
RESOLVED: MOVED

Comments

Description Raphaël Hertzog 2020-01-07 16:51:10 CET
I do have a desktop file where the command is "/usr/share/kali-menu/exec-in-shell sudo wifite --help" and where the terminal attribute is set to true. Due to this whiskermenu is executing "exo-open --launch TerminalEmulator /usr/share/kali-menu/exec-in-shell sudo wifite --help"

But this call will not execute the desired command, instead it will print exo-open's help message. This is not the desired behaviour. Given the current documentation of exo-open, I would suggest to stop parsing parameters after "--launch TerminalEmulator". Alternatively, you might want to document and recommand the use of "--" as a way to separate the application options from the parameters to pass downwards. But in this case, you will likely have to make changes to whiskermenu and the usual xfce menu too.

Note that the use of "--" is not working correctly right now. I tried "exo-open --launch TerminalEmulator -- /usr/share/kali-menu/exec-in-shell sudo wifite --help". With xfce4-terminal, we get "xfce4-terminal -- /usr/share/kali-menu/exec-in-shell sudo wifite --help" but the "--" is ignored and it's xfce4-terminal that is outputting its help message instead of exo-open. With qterminal, we get "qterminal -- /usr/share/kali-menu/exec-in-shell sudo wifite --help" and qterminal is opening but not running the command as it needs to be input the command in the "-e" parameter.
Comment 1 Git Bot editbugs 2020-05-25 22:56:29 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/exo/-/issues/20.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16346

Reported by:
Raphaël Hertzog
Reported on: 2020-01-07
Last modified on: 2020-05-25

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
0.12.8

Attachments

Additional information