[TxMt] Re: Line buffering for the Stdout window?

Alex Ross tm-alex at rosiba.com
Mon Apr 13 16:23:23 UTC 2009


On Apr 13, 2009, at 7:10 AM, Jay Soffian wrote:

> On Fri, Apr 10, 2009 at 12:33 PM, Jenny Berry <yolospat at gmail.com>  
> wrote:
>> Same goes for Ruby
>
> Python, Perl, Ruby, all use TextMate::Executor to handle cmd-R. It
> appears to batch the stdout and stderr, instead of properly
> interleaving them as they are produced.
>
> I think TextMate::Executor is Alex Ross's baby.

The only way to get proper line-buffering from these is to run them  
attached to a TTY.  I tried “faking” it, but it's not really  
possible unless somebody writes a dylib that we inject into the  
process to force line buffering.  I don't really know how to do that,  
so it never got done…

—alex


More information about the textmate mailing list