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

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: James Finstrom
Date:  
To: Main PLUG discussion list
Subject: Re: What (the #@$!%) is 'tee' waiting for?
This might help
http://stackoverflow.com/questions/106563/does-the-tee-command-always-wait-for-eof

James Finstrom
Rhino Equipment
http://rhinoequipment.com
<http://facebook.com/RhinoEquipment>

This e-mail, the files transmitted with it, and the sender of this email
are the property of Rhino Equipment and/or its affiliates. This e-mail is
confidential, and is intended solely for use of the individual or entity to
whom this e-mail is addressed, If you are not one of the named recipient(s)
or otherwise have reason to believe that you have received this message in
error, please notify the sender at Rhino Equipment, delete this message
from your computer, destroy your computer immediately, forget all that you
have seen, and turn yourself over to the proper authorities. Any other use,
retention, observation, dissemination, consideration, recollection,
forwarding, ridicule, printing, viewing, copying, or unauthorized
memorization of this e-mail without the express written consent of Major
League Baseball is strictly prohibited. The contents of this email are not
intended to be taken literally. Void where prohibited by law or common
sense. Not valid in Rhode Island, Guam and the Xinghua province in China.
With great power comes great responsibility. Do not eat-external use only.
Cash value= 1/20th of one cent. All rights reserved. © 1975



On Fri, Nov 30, 2012 at 9:10 AM, Eric Cope <> wrote:

> 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, <
> > 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 - .**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>
>>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss