home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / win32 / 2072 < prev    next >
Encoding:
Text File  |  1992-11-19  |  908 b   |  21 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!microsoft!hexnut!alistair
  3. From: alistair@microsoft.com (Alistair Banks)
  4. Subject: Re: Win32 equivalent of popen()
  5. Message-ID: <1992Nov20.031551.25973@microsoft.com>
  6. Date: 20 Nov 92 03:15:51 GMT
  7. Organization: Microsoft Corporation
  8. References: <1eav9tINNor9@armory.centerline.com>
  9. Lines: 10
  10.  
  11. In article <1eav9tINNor9@armory.centerline.com> cparker@centerline.com writes:
  12. >How does one do the equivalent of popen() in NT? I want
  13. >to start another process, but make sure that it's stdin
  14. >and stdout are pointed to pipes which the parent 
  15.  
  16. I'm at home, and haven't got the win32 api at hand - there is
  17. of course a way - you use win32 apis to get the handles to 
  18. stdin & stdout, and start youre "child" using inheritance
  19. options - I hope this is a vague pointer, but if it doesnt
  20. lead you to the API references, I'll look around harder -- Alistair
  21.