[Chugalug] What (the #@$!%) is 'tee' waiting for?
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... :(
> Chugalug mailing list
> Chugalug at chugalug.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chugalug