Re: bash doesn't send SIGHUP to children

2008-09-16 Thread Chet Ramey
> After some further investigation it turned out that you also need to use > a function in your bash scripts to reproduce the bug. > > I have the following in my .bashrc > mc () { MC=`/usr/bin/mc -P "$@"`; [ -n "$MC" ] && cd "$MC"; unset MC; } > > This was the recommended way for mc to 'remember'

Re: bash doesn't send SIGHUP to children

2008-09-13 Thread Chet Ramey
Emil wrote: Bash runs interactive. Not the one you traced; see below. After some further investigation it turned out that you also need to use a function in your bash scripts to reproduce the bug. I have the following in my .bashrc mc () { MC=`/usr/bin/mc -P "$@"`; [ -n "$MC" ] && cd "$MC";

Re: bash doesn't send SIGHUP to children

2008-09-11 Thread Emil
On 11 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote: > > On 4 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote: > > > > Description: > > > > Regradless of the huponexit setting ('shopt -s huponexit' > > > > doesn't > > > > help) bash does not send SIGHUP to its children

Re: bash doesn't send SIGHUP to children

2008-09-11 Thread Chet Ramey
> On 4 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote: > > > Description: > > > Regradless of the huponexit setting ('shopt -s huponexit' doesn't > > > help) bash does not send SIGHUP to its children when it receives > > > one > > > itself. Previous version of bash 3.1.17 w

Re: bash doesn't send SIGHUP to children

2008-09-11 Thread Emil
On 4 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote: > > Description: > > Regradless of the huponexit setting ('shopt -s huponexit' doesn't > > help) bash does not send SIGHUP to its children when it receives one > > itself. Previous version of bash 3.1.17 was behaving pro

Re: bash doesn't send SIGHUP to children

2008-09-04 Thread Chet Ramey
> Description: > Regradless of the huponexit setting ('shopt -s huponexit' doesn't > help) bash does not send SIGHUP to its children when it receives one > itself. Previous version of bash 3.1.17 was behaving properly > even with huponexit set to off > > Repeat-By: >

bash doesn't send SIGHUP to children

2008-09-03 Thread emil
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba