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

Eric Cope eric.cope at gmail.com
Fri Nov 30 09:10:00 MST 2012


does it only happen with the "2>&1"? I've never had tee hang on me, but I
rarely capture STDERR...

Eric


On Fri, Nov 30, 2012 at 9:05 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
> ------------------------------**---------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.**org<PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20121130/613640dc/attachment.html>


More information about the PLUG-discuss mailing list