home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / c / 12911 < prev    next >
Encoding:
Text File  |  1992-08-29  |  942 b   |  30 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!news
  3. From: gwh@elric.cs.mcgill.ca (Gene W. Homicki)
  4. Subject: Turbo C question
  5. Message-ID: <1992Aug28.140043.8598@cs.mcgill.ca>
  6. Keywords: Turbo C I/O pipe
  7. Sender: news@cs.mcgill.ca (Netnews Administrator)
  8. Organization: SOCS, McGill University, Montreal, Canada
  9. Date: Fri, 28 Aug 1992 14:00:43 GMT
  10. Lines: 18
  11.  
  12.  
  13. Hi there,
  14.  
  15.     I have what should be a relatively simple question about 
  16. Turbo C.... Is it possible to run another DOS program ( system() )
  17. and get it's output into the calling program....something along
  18. the lines of "popen()"..?  
  19.  
  20.     I'd _really_ rather not redirect the output to a file and then
  21. read the file intot the main program....this seems rather messy. Any
  22. help is appreciated.  Thanks. :-)
  23.  
  24.                     --Gene
  25.  
  26. ---
  27. School of Computer Science        Gene W. Homicki
  28. McGill University            gwh@elric.cs.mcgill.ca
  29. Montreal   Canada
  30.