Title: Directing output/input from a command line

Hi,
        This may be off topic, as the problem I am experiencing is not really in the servlet
side of things.
        I am trying to divert the screen output from an application
to a servlet, and then process the information into an Excel sheet and display it to
the browser. Basicially this will be (more or less) a Macro that will run, and the results displayed
in a nice format.

Formatting the data into excel format is not the issue.

I am creating a Process with runtime.exec("blah") and then getting InputStream / OutputStream to the process.

The problem I have is that when I try to retrieve info from the screen,
using the InputStream.readLine() method, it keeps blocking until the application it creates is closed,
and it returns a null value.

Anyone have any ideas on this one?


Thanks,
        Dave Concannon
       

Reply via email to