After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 79573 - using factory disables -e, --command, -x, --execute options
using factory disables -e, --command, -x, --execute options
Status: RESOLVED DUPLICATE of bug 71442
Product: gnome-terminal
Classification: Core
Component: general
1.9.x
Other Linux
: High major
: ---
Assigned To: Havoc Pennington
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-04-23 06:07 UTC by Ben Liblit
Modified: 2002-04-30 19:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Ben Liblit 2002-04-23 06:07:56 UTC
When the gnome-terminal factory is being used, and at least one
factory-enabled gnome-terminal is already running, the "-e" and "-x"
command line options (also known as "--command" and "--execute") no longer
have any effect.

To reproduce the bug, first start up at least one factory-enabled
gnome-terminal:

   % gnome-terminal                  # --use-factory is default

That done, each of the following all result in a gnome-terminal with the
user's default shell:

   % gnome-terminal -x top           # --use-factory is default
   % gnome-terminal -e top           # --use-factory is default

If you really want to run a command in a gnome-terminal, you must
explicitly disable the factory:

   % gnome-terminal --disable-factory -x top
   % gnome-terminal --disable-factory -e top

If there is *not* already a gnome-terminal factory running, then the "-x"
and "-e" flags do work as intended.
Comment 1 jacob berkman 2002-04-23 19:59:55 UTC
i can verify that this happens.
Comment 2 Luis Villa 2002-04-23 20:00:47 UTC
Fairly big regression, no?
Comment 3 Sri Ramkrishna 2002-04-24 01:24:47 UTC
In addition the --title option doesn't work either.  So both -e,-x,
and I'm reporting that -t doesn't work either.
Comment 4 Havoc Pennington 2002-04-24 03:01:53 UTC
No need to enumerate them all ;-), I just haven't implemented
forwarding args from the command line to the factory. Known issue. 

Use --disable-factory for now if you want to use args. ;-)
Comment 5 Havoc Pennington 2002-04-30 19:45:41 UTC

*** This bug has been marked as a duplicate of 71442 ***