# Re: Prcoessing outoput from tail

**URL:** <https://www.ruby-forum.com/t/re-prcoessing-outoput-from-tail/90015>\
**Category:** Ruby\
**Created:** [March 25, 2007, 12:54am UTC](https://www.ruby-forum.com/t/re-prcoessing-outoput-from-tail/90015 "2007-03-25T00:54:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [March 25, 2007, 12:54am UTC](https://www.ruby-forum.com/t/re-prcoessing-outoput-from-tail/90015/1 "2007-03-25T00:54:10Z")

</div>

What happens in the middle of a read from tail when the thread is  
interrupted? I have yet to get that stage where I can test this, but it  
is something I need to watch out for. Would hate to have a short read -  
only get half the data!

TIA!  
Phy

----- Original Message ----  
From: Gustav P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: ruby-talk ML [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Saturday, March 24, 2007 4:44:25 PM  
Subject: Re: Prcoessing outoput from tail

Phy P. wrote:

> TIA!  
> Phy

Great! Looks like that works fine. I haven’t used the file-tail gem,  
just remember having seen it somewhere a while ago, so I can’t give you  
much feedback on it. You mention making the code ‘thread-able’…what do  
you mean exactly?

Gustav
