[Rails] Re: interactive web app

Inge Jørgensen
Wed, 05 Jul 2006 14:16:52 -0000

Mathias Wittlock wrote:
> On 7/5/06, User <exl2@cornell.edu> wrote:
>> but how do i redirect the stdout to a file if it is constantly being
>> written (the program does not end, it will keep writing to stdout )
>>
>> thanks
>>
>
> I believe the file gets written to while the application is running
> (compare with logfiles). Instead of printing it in the console it just
> writes to the file. So the file will get updated every couple of
> seconds as the program outputs more text.
I think the file is updated for every newline character. This could be
entirely wrong, I have no idea where I pulled that from.
>
> Mathias.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails