Paul Tagliamonte wrote: > Severity: important > thanks > > On Sun, Mar 28, 2010 at 7:33 AM, Peter Fritzsche <peter.fritzs...@gmx.de> wrote: > > I think I found the problem. (Just read fbrun source code, but rest will > > probably work the same). Execl is used to start the program using "$SHELL > > -c myprogram". This cannot work because I use zsh and output of my $SHELL > > is zsh - which of course cannot be found by execl (needs full path). > > > > Setting shell in my screenrc to /bin/zsh worked around that problem. > > I'm taking a look into this now. Thanks Peter!
I think the best idea would be to read env['SHELL'] - if that exists then check if we are allowed to execute that file (and that it exists and is not a folder). If it is not a valid shell then just do what is done when no env['SHELL'] is set - use /bin/sh as shell Best regards, Peter -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org