home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12402 < prev    next >
Encoding:
Text File  |  1992-08-16  |  831 b   |  24 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!wupost!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sparc10.cs.uiuc.edu!pjl
  3. From: pjl@sparc10.cs.uiuc.edu (Paul Lucas)
  4. Subject: Re: Unix commands from C++
  5. Message-ID: <1992Aug16.220839.4853@sunb10.cs.uiuc.edu>
  6. Sender: news@sunb10.cs.uiuc.edu
  7. Organization: University of Illinois at Urbana-Champaign
  8. References: <713567392.F00001@fast.fido.de>
  9. Date: Sun, 16 Aug 1992 22:08:39 GMT
  10. Lines: 12
  11.  
  12. In <713567392.F00001@fast.fido.de> Oliver.Otto@ossi.fido.de (Oliver Otto) writes:
  13.  
  14. >Hello All!
  15.  
  16. >is there a way to tell my C++ proggi (compiled with GNU) to open a shell
  17. >and to run another program and than to return to the main C++ prog???
  18.  
  19.     system( "<name-of-executable>" );
  20. -- 
  21.     - Paul J. Lucas                University of Illinois    
  22.       AT&T Bell Laboratories        at Urbana-Champaign
  23.       Naperville, IL            pjl@cs.uiuc.edu
  24.