On Mon, Jul 26, 2010 at 2:16 PM, Greg Wooledge wrote:
> On Sun, Jul 25, 2010 at 04:54:53PM -0400, Chet Ramey wrote:
> > On 7/25/10 8:51 AM, Julien Dessaux wrote:
> > > I have a script that trap USR1 for reloading purpose. The signal
> handler
> > > then does some cleaning, then exec $0.
> >
>
On Sun, Jul 25, 2010 at 04:54:53PM -0400, Chet Ramey wrote:
> On 7/25/10 8:51 AM, Julien Dessaux wrote:
> > I have a script that trap USR1 for reloading purpose. The signal handler
> > then does some cleaning, then exec $0.
>
> With BSD and Posix-style signals, the caught signal is automatical
On 7/25/10 8:51 AM, Julien Dessaux wrote:
> Hi,
>
> I found a very odd behaviour in bash. It's about a problem I encounter
> when I do a exec from the inside of a signal handler. I can reproduce 100%
> sure on my bash 4.0.35 on OpenBSD, and on a bash 4.1.7 on archlinux, and
> people on #bash s