Hi Michelle,

> I have encountered, that the command "Exec" invoke "sh" every
> time which had broken many of my scripts under Sarge.
> 
> My question is:     Why does 'fvwm' not use $SHELL
>                     and use 'sh' only as fallback?

The default is to use /bin/sh.

You can override this with ExecUseShell.

Try the following in FvwmConsole:

ExecUseShell /bin/ksh
Exec exec eek
ExecUseShell /bin/zsh
Exec exec eek
ExecUseShell /bin/bash
Exec exec eek
ExecUseShell
Exec exec eek

"eek" is just a non-existant command I use so that I get some output.
Here is what is output on my system.

/bin/ksh[1]: exec: eek: not found
zsh: command not found: eek
/bin/bash: line 0: exec: eek: not found
zsh: command not found: eek

Note that if no argument is specified with ExecUseShell, it uses $SHELL.
In my case, that's zsh.

SCoTT. :)

Reply via email to