[Rails] Re: interactive web app

User
Wed, 05 Jul 2006 13:58:43 -0000

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

Jeff LaMarche wrote:
>> 1)By sending output of program to a text file, you mean modify the
>> binary right?
>
> I doubt he meant for you to modify the binary. I''m sure he just
meant
> for you to redirect stdout to a file.
>
> Like (perhaps under a cron job):
>
> ./myexecutable.exe > output.txt
>
> or some such