SOLVED - Re: xfce4-terminal fails to “pass through” environment variables
On Mon, Oct 02, 2017 at 10:19:44AM +0300, Reco wrote:
> Hi.
>
> On Mon, Oct 02, 2017 at 02:58:59PM +1100, Zenaan Harkness wrote:
> > >From terminal A (may be xterm or xfce4-terminal), launch terminals:
> >
> > MYVAR="wow - some text!" xterm &
> > MYVAR="wow - some text!" xfce4-terminal &
> >
> > Now from those terminals, run:
> >
> > echo $MYVAR
> >
> >
> > In xterm, we get the expected output - evidently MYVAR is correctly
> > "passed through" - this is how env vars should work of course :)
> >
> > But sadly :( , as in, very sadly :,( , xfce4-terminal does not
> > produce the expected output - MYVAR is not “passed through” it seems.
> >
> > Does anyone know why, but more importantly, does anyone know how to
> > overcome this ‘feature’ of xfce4-terminal?
>
> Try this:
>
> MYVAR="wow - some text!" xfce4-terminal --disable-server &
>
> Reco
Oh, oh, oh‼ I'm hopping excited now, it works it works! :D
Thanks guys - the fancy arg dancing allows for me to do some fancy
arg dancing :)
Best regards,
Zen
Reply to: