Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: DISPLAY problem with zsh + fvwm + firejail
On 1 Jan 2020, at 20:51, Dominik Vogt <dominik.vogt@xxxxxx> wrote:
> No, it's also empty. Note that firejail automatically runs the
> command from a shell (zsh in this case) if its not explicitly told
> otherwise
Oh, i see. That should have been obvious from `exec firejail --debug set`, but
somehow i missed it. That explains why other shells were affected.
On 1 Jan 2020, at 20:51, Dominik Vogt <dominik.vogt@xxxxxx> wrote:
> But "exporting" variables is a concept of the shell, right? So an
> execvp() in a random program knows nothing about "exporting"
> variables - the called executable just inherits the whole
> environment(?).
You can manipulate the environment from any C application with setenv(),
execve(), &c. But it sounds like in this case firejail is just passing it
through like you said. Glad you found it
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author