I'm writing an application to gather the inputs and outputs from a
number of batch applications into one console. To do this I launch the
batch application from mine and redirect STDIN, STDOUT and STDERROR. I
can't change the batch apps so this seems the only option.
By using Process.BeginOutputReadLine() I'm capturing the output from
the batch applications (written to STDOUT and STDERROR) and this works
just fine. I now need to create a mechanism to pass input from my
console to STDIN of the batch applications. My question is how do I
know when the batch application has issued a read. Is there an event
associated with async IO that gets raised when an application issues a
readline(). I'd like to prompt the console user that one of the batch
applications requires input and to pass the user' input to that
application.
Any guidance gratefully received.
Regards
Zulu27 - da********@REMOVETHIS.wildair.net