I don't know what's going on, so this is pure speculation. But I think that tail is waiting until its input stream is closed. But with your script, tail's input stream is the terminal session's output stream (STDOUT). Thus, I think tail is waiting for your terminal session to close it's output stream before it exits.
Again, this is pure speculation....
--roboticus
In reply to Re: Automatically killing a child
by roboticus
in thread Automatically killing a child
by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |