! 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 !
Improve -e option usability
Status:
CLOSED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description Mateusz Loskot 2012-07-14 01:58:51 CEST
Currently, the -e option is far from usability:

$ terminal -e ls -lh
Unknown option "-lh"
$

Most popular terminals, like xterm, urxvt, etc. do support the -e option according to this:

-e program [ arguments ... ] 

It would be great if the Xfce terminal could get unified to this convention too.
Comment 1 Mike Massonnet editbugs 2012-07-15 19:33:58 CEST
Hello Mateusz,

You need to quote the command with its options, as for your example:
terminal -e 'ls -lh'

Regards,
Mike
Comment 2 Mateusz Loskot 2012-07-15 22:06:23 CEST
My point is, the the requirement to have it quote is a different behaviour to what xterm and others do support. The call was to unify the inerface.
Comment 3 Mike Massonnet editbugs 2012-07-28 18:25:17 CEST
Hello Mateusz,

For the record, the -e option is correct in the way it works, however the -x option is supposed to pass the remaining options to the command to execute which is currently broken, see bug 9167. The -x option is most likely what you want to use instead of -e.

Regards,
Mike

Bug #9114

Reported by:
Mateusz Loskot
Reported on: 2012-07-14
Last modified on: 2012-07-28

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information