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
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
2 matches
Mail list logo