bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Bash not reacting to Ctrl-C


From: Ingo Molnar
Subject: Re: [BUG] Bash not reacting to Ctrl-C
Date: Wed, 9 Feb 2011 15:50:45 +0100
User-agent: Mutt/1.5.20 (2009-08-17)

* Oleg Nesterov <oleg@redhat.com> wrote:

> That is why I provided another test-case, let me repeat it:
> 
>       #!./bash
> 
>       perl -we '$SIG{INT} = sub {exit}; sleep'
> 
>       echo "Hehe, I am going to sleep after ^C"
>       sleep 100

This reliably reproduces the (formerly sporadic) script Ctrl-C bug here,
100% of the time:

 aldebaran:~> ./test-signal-perl.sh 
 ^CHehe, I am going to sleep after ^C

 [ it waits 100 seconds ]

Thanks,

        Ingo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]