Mail Archives: djgpp/2000/01/28/08:29:17
OK! A pipe seams as something worth to try...
I assume that what you mean is that I use a syntax like,
backend.exe >frontend.exe
?
How do I then read the data in the frontend.exe that I write ?
and also, is it possible (certanly preferable) to get frontend.exe to
use a call to backend.exe, something like
dosexec(backend.exe>frontend.exe") ? I think this sounds like an
endless recursive loop.
I could of cource start it with Dosexec("backend>file.txt"),
but it is then possible to open the file.txt and read it, while
backend.exe writes to it, which is what I want ?
Is it at all possible to have my frontend program analyze the output
from backend.exe, while backend.exe executes, without an interrupt
handling ?
when I start a program from my program, does'nt my program halt until
the started program terminates ?
In article <ckdv8sgv1os67atnmpqbqqm5fi6c8dsui8 AT 4ax DOT com>,
REPLYTOd_yerrick AT hotmail DOT comNO2CANNEDHAM wrote:
> On Wed, 26 Jan 2000 15:31:07 GMT, arcadepreserv AT hotmail DOT com wrote:
>
> >I am doing a frontend to an MSdos application, i.e. another msdos
> >application is started from my frontend, and I need to decode the
> >output from this application.
> >
> >I think it is possible to trap a interrupt that accurs when a call to
> >printf is made, and then read the string a pointer is pointing to.
>
> uhhh... that's what a pipe is for?
>
> --
> Damian Yerrick http://yerricde.tripod.com/
> View full sig at http://www.rose-hulman.edu/~yerricde/sig.html
> Comment on story ideas at http://home1.gte.net/frodo/quickjot.html
>
Sent via Deja.com http://www.deja.com/
Before you buy.
- Raw text -