home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!ukma!gatech!concert!sas!mozart.unx.sas.com!sasbxc
- From: sasbxc@tadpole.unx.sas.com (Brian Corcoran)
- Subject: CreateProcess for Dos sessions
- Originator: sasbxc@tadpole.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <C1L0u4.6v8@unx.sas.com>
- Date: Thu, 28 Jan 1993 20:56:28 GMT
- Nntp-Posting-Host: tadpole.unx.sas.com
- Organization: SAS Institute Inc.
- Keywords: CreateProcess
- Lines: 19
-
-
- I have a question regarding CreateProcess invoking
- CMD.EXE. How to you get parameters to the newly created
- DOS session? In the code I am working on, they seem to
- be ignored. I want to invoke the command processor to
- send DOS commands to a newly created session.
-
- I also need to find a way to wait for the session action
- to complete. I can use WaitForSingleObject to wait on the
- created process to exit, but I would rather wait on some
- kind of user input after the DOS command was executed.
-
- Thanks in advance.
-
- - Brian Corcoran sasbxc@tadpole.unx.sas.com
-
- SAS Institute
- Cary, NC
-
-