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

kitepilot at kitepilot.com kitepilot at kitepilot.com
Fri Nov 30 09:25:12 MST 2012


> does it only happen with the "2>&1"?
Hmmmmm...
I don't know.
I haven't systematically researched when it happens because it tends to 
happen when I am in a crunch or because I can't reproduce the thing...
I'll check for that.
Thanks!
ET 


Eric Cope writes: 

> 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> 
>>


More information about the PLUG-discuss mailing list