[Pkg-xfce-devel] Bug#272030: xfrun4
--HWvPVVuAAfuRc6SZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Jun 23, 2005 at 04:24:42PM +0200, Cyril Brulebois wrote:
> "Fredy P." <digitalfredy@debiancolombia.org> (16/09/2004):
> > Package: xfce4-utils
> My version is 4.2.2-1
> > Apparently, xfrun4 doesn't know about the values of the environment
> > variables.
> I seems to be "normal" as environment variables depends on a shell
> you're running, if I'm right. Since xfrun4 does not depend on such a
> shell, it does not have to know about them (launched from alt+f2
> shortcut).
> > If I run xmessage $SHELL in xfrun4 I get $SHELL, whereas if I run
> > xmessage $SHELL in xterm I get /bin/bash.
> Launched from a (xterm|gnome-terminal), it still does not know about
> them because it calls the program/binary directly without asking the
> shell to interprete the command line (substitution and so on).
> > As a result of this problem, a script will fail if it needs to read
> > the values of the environment variables.
> If you really need environment variables, you may find this trick
> interesting; in xfrun4, just type:
> bash -c "xmessage $SHELL"
Also if you run in a terminal that will spawn a shell which will run
your normal shell startup scripts to get the environment.
I don't think this is a bug of xfrun4 either.
Fredy, are you still unhappy with this?
--=20
,--huggie-at-earth-dot-li--------stuff-thing-stuff----------DF5CE2B4--.
_| "Ah! You'd like freshly *squeezed* orange juice." - Basil "As |_
| against freshly unscrewed orange juice, yes" Fawlty Towers |
`- http://www.earth.li/~huggie/ - http://www.blackcatnetworks.co.uk/ -'
--HWvPVVuAAfuRc6SZ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCvTTdMQdl+99c4rQRArT1AJwOMVDjxMFRoXM339JiUrxm6KopJgCgjzCu
my/Xe09eEj3u/bTgyl8yUPM=
=re4O
-----END PGP SIGNATURE-----
--HWvPVVuAAfuRc6SZ--
Reply to: