G
Guest
Hello Everyone,
I am currently working on writing a GUI wrapper for a Menu driven DOS
Program. What I was looking on doing is redirecting stdout/stdin to a stream
and read/write similar to a file. My issue is that I try to read from the
stdout stream and never get anything only if the program has exited. Is there
a way of reading the redirected stdout from a DOS program in say real time? I
have tried the async (BeginOutputReadLine) and sync (readline()) to no avail.
If anyone had any experience to share that would be greatly appreciated.
Thanks,
I am currently working on writing a GUI wrapper for a Menu driven DOS
Program. What I was looking on doing is redirecting stdout/stdin to a stream
and read/write similar to a file. My issue is that I try to read from the
stdout stream and never get anything only if the program has exited. Is there
a way of reading the redirected stdout from a DOS program in say real time? I
have tried the async (BeginOutputReadLine) and sync (readline()) to no avail.
If anyone had any experience to share that would be greatly appreciated.
Thanks,