home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / win32 / 3142 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!ukma!gatech!concert!sas!mozart.unx.sas.com!sasbxc
  3. From: sasbxc@tadpole.unx.sas.com (Brian Corcoran)
  4. Subject: CreateProcess for Dos sessions
  5. Originator: sasbxc@tadpole.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <C1L0u4.6v8@unx.sas.com>
  8. Date: Thu, 28 Jan 1993 20:56:28 GMT
  9. Nntp-Posting-Host: tadpole.unx.sas.com
  10. Organization: SAS Institute Inc.
  11. Keywords: CreateProcess
  12. Lines: 19
  13.  
  14.  
  15.   I have a question regarding CreateProcess invoking 
  16. CMD.EXE.  How to you get parameters to the newly created
  17. DOS session?  In the code I am working on, they seem to
  18. be ignored.  I want to invoke the command processor to
  19. send DOS commands to a newly created session.
  20.  
  21.   I also need to find a way to wait for the session action
  22. to complete.  I can use WaitForSingleObject to wait on the
  23. created process to exit, but I would rather wait on some
  24. kind of user input after the DOS command was executed.
  25.  
  26.   Thanks in advance.
  27.  
  28.  - Brian Corcoran             sasbxc@tadpole.unx.sas.com
  29.  
  30.    SAS Institute
  31.    Cary, NC
  32.  
  33.