home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!news
- From: gwh@elric.cs.mcgill.ca (Gene W. Homicki)
- Subject: Turbo C question
- Message-ID: <1992Aug28.140043.8598@cs.mcgill.ca>
- Keywords: Turbo C I/O pipe
- Sender: news@cs.mcgill.ca (Netnews Administrator)
- Organization: SOCS, McGill University, Montreal, Canada
- Date: Fri, 28 Aug 1992 14:00:43 GMT
- Lines: 18
-
-
- Hi there,
-
- I have what should be a relatively simple question about
- Turbo C.... Is it possible to run another DOS program ( system() )
- and get it's output into the calling program....something along
- the lines of "popen()"..?
-
- I'd _really_ rather not redirect the output to a file and then
- read the file intot the main program....this seems rather messy. Any
- help is appreciated. Thanks. :-)
-
- --Gene
-
- ---
- School of Computer Science Gene W. Homicki
- McGill University gwh@elric.cs.mcgill.ca
- Montreal Canada
-