! 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 !
"Run in terminal" doesn't pass arguments
Status:
RESOLVED: FIXED
Product:
Xfce-utils
Component:
General

Comments

Description Bernhard Walle 2005-08-01 20:33:45 CEST
For example, if I use xfrun4 with "man mutt", it doesn't work because the "mutt"
arguments it not passed to the Terminal. xfrun4 executes xfterm4 -e man mutt
which does not work.

Suggested fix:

--- xfterm4.orig        2005-08-01 22:23:30.000000000 +0200
+++ xfterm4     2005-08-01 22:23:44.000000000 +0200
@@ -8,8 +8,8 @@

 if [ "$1" = "-e" ]; then
        if [ -n "$2" ]; then
-               ESTRING="$2"
-               shift; shift
+               shift;:
+               ESTRING="$@"
        else
                shift
        fi


Reproducible: Always
Steps to Reproduce:
1. xfrun4
2. man mutt
3. [x] run in terminal
4. ENTER

Actual Results:  
man is executed and the Terminal immediately closes

Expected Results:  
'man mutt' should be executed and the Terminal schould close if the user closes it.

        This is xfwm4 version 4.2.2 for Xfce 4.2.2
        built with GTK+-2.6.4, linked with GTK+-2.6.4.
Comment 1 Mike Massonnet editbugs 2006-09-24 12:31:35 CEST
*** Bug 2352 has been marked as a duplicate of this bug. ***
Comment 2 Benedikt Meurer editbugs 2006-10-01 10:41:41 CEST
Committed with revision 23248.

Bug #1100

Reported by:
Bernhard Walle
Reported on: 2005-08-01
Last modified on: 2009-07-14
Duplicates (1):
  • 2352 string command passed without quotes to exo-open in xfterm4

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

Additional information