Thanks! Your advice is much appreciated.<br><br>martin<br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 10:08 PM, Glyph Lefkowitz <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com">glyph@twistedmatrix.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div class="im">On Wed, Aug 26, 2009 at 9:54 PM, Cary Hull <span dir="ltr">&lt;<a href="mailto:cary.hull@gmail.com" target="_blank">cary.hull@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div>It would certainly be nice if Twisted supported async file io, but in this case wouldn&#39;t a ProcessProtocol around &#39;tail -f&#39; be a good solution as well?</div></div></blockquote><div>

<br></div></div><div>That could work, but there are a few potential issues.  &#39;tail&#39; does slightly different stuff on different platforms.  Maybe you&#39;re on Windows and it isn&#39;t available.  Maybe it mangles your output (I know that some coreutils tools try to be encoding-aware, I don&#39;t know if &#39;tail&#39; is one).  Maybe you want to get blocks of bytes off the end rather than lines, etc.  Then you also need to worry about housekeeping for a subprocess, which always turns out to be a little trickier than you first expect.</div>

</div>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br>