Re: [Catalyst] streaming output to view in real time

2007-04-11 Thread Jimmy Cooksey
Ok, I'm requesting a design sanity check :-) What I'd like to do is have a view come up with a form, and a div for my streaming output. The form is used to execute an external serverside program. Data fields in the form are basically just command line arguments for the program. The form

Re: [Catalyst] streaming output to view in real time

2007-04-11 Thread Perrin Harkins
On 4/10/07, Jimmy Cooksey [EMAIL PROTECTED] wrote: I'm looking for a way to redirect STDOUT from an external application directly into my website, updating in real time. Randal Schwartz wrote a good example of how to do this with a forked process and some kind of shared data store:

[Catalyst] streaming output to view in real time

2007-04-10 Thread Jimmy Cooksey
Hi, I'm looking for a way to redirect STDOUT from an external application directly into my website, updating in real time. My original plan is to do something like this: 1. Controller popen's some program 2. Reads the file descriptor 3. Redirects each new line into some DIV in my view,

Re: [Catalyst] streaming output to view in real time

2007-04-10 Thread David Morel
Le 10 avr. 07 à 17:57, Jimmy Cooksey a écrit : Hi, I'm looking for a way to redirect STDOUT from an external application directly into my website, updating in real time. My original plan is to do something like this: 1. Controller popen's some program 2. Reads the file descriptor 3.