[Chugalug] What (the #@$!%) is 'tee' waiting for?

Sean Brewer seabre986 at gmail.com
Fri Nov 30 17:18:54 UTC 2012


tee will run indefinitely until it receives something. If the script put
nothing in stdout, tee will just sit there.

On Fri, Nov 30, 2012 at 11:06 AM, kitepilot at kitepilot.com <
kitepilot at kitepilot.com> wrote:

> This has been bothering me for years now...
> Sometimes when I 'tee' a command, like:
> ./run_bash_script.sh 2>&1|tee $LOG/tell_me_how_I_did.log
> ./run_bash_script.sh finishes and 'tee' never exits...
> What is 'tee' waiting for?
> Sometimes it really screws up my scripts...   :(
> ET
> ______________________________**_________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/**mailman/listinfo/chugalug<http://chugalug.org/cgi-bin/mailman/listinfo/chugalug>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20121130/aa7afbb2/attachment.html>


More information about the Chugalug mailing list