[Xfce-bugs] [XFCE 0000210]: xterm will not run app without -e (xterm window opens, then closes).
xfce-bugs at xfce.org
xfce-bugs at xfce.org
Mon Jun 7 05:45:51 CEST 2004
The following bug has been CLOSED
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000210
=======================================================================
Reporter: Grunt
Handler: huysmans
=======================================================================
Project: XFCE
Bug ID: 0000210
Category: other
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
=======================================================================
Date Submitted: 2004-06-01 00:53 GMT
Last Modified: 2004-06-07 03:45 GMT
=======================================================================
Summary: xterm will not run app without -e (xterm window opens, then closes).
Description:
Set up this in a launcher:
xterm vpnclient connect "Faculty-Staff Off Campus"
When the command (without the xterm) is run from an xterm the window stays
open until ^C is used.
When the command above is entered into a launcher window the xterm opens
and closes immediately. I had to add -e to the xterm command to get it to
work.
xterm -e vpnclient connect "Faculty-Staff Off Campus"
=======================================================================
-----------------------------------------------------------------------
pollux - 2004-06-01 12:00 GMT
-----------------------------------------------------------------------
according to the xterm manpage, it seems to be the normal behaviour of
xterm. In fact the window opens to show you the syntax of xterm and then,
as the process is finished, closes.
-----------------------------------------------------------------------
Grunt - 2004-06-01 14:23 GMT
-----------------------------------------------------------------------
I was under the impression that the xterm would remain open until the
process is done. If I run this by starting an xterm and then running
vpnclient vpnclient starts up and does not exit until I hit ^C. I would
assume xterm vpnclient xxx xxx should do the same - start vpnclient and
wait until the program ends - which doesn't happen until I ^C it. If I
create a launcher with just xterm the xterm does not go away.
-----------------------------------------------------------------------
huysmans - 2004-06-01 15:29 GMT
-----------------------------------------------------------------------
This is not a bug. And it has nothing to do with xfce.
If you want to run a command in a terminal you have two options:
1) Write the command in the appropriate text entry and check the 'run in
terminal' option.
2) Use 'xterm -e <command>' in the command entry.
Running 'xterm <command>' inside a terminal does not work, why should it
work from the panel?
More information about the Xfce-bugs
mailing list