Re: Sleep not terminating

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:36:55PM -0700, David Rothenberger wrote: >I'm encountering a weird problem with sleep. > >If I run > >$ while true; do sleep 120; done & >[1] 6780 >$ kill %1 > >the bash process (6780) and its child sleep process are both killed. > >However, if I kill the bash process usi

Sleep not terminating

2005-10-14 Thread David Rothenberger
I'm encountering a weird problem with sleep. If I run $ while true; do sleep 120; done & [1] 6780 $ kill %1 the bash process (6780) and its child sleep process are both killed. However, if I kill the bash process using the pid, the child sleep process is not killed. $ while true; do sleep 1