home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!decwrl!csus.edu!netcomsv!mork!jfh
- From: jfh@netcom.com (Jack Hamilton)
- Subject: Capturing DOS output?
- Message-ID: <rcgmm3l.jfh@netcom.com>
- Date: Thu, 23 Jul 92 04:40:51 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Lines: 17
-
- I'd like to run a DOS application from inside a Windows application, and
- have the output from the DOS program appear in a window controlled by my
- Windows program.
-
- I looked at WinExec, but there's nothing obvious in the documentation. Is
- there some other way to do it?
-
- By the way, I'd like the window to scroll as the DOS program creates more
- output (which will be to stdout), so redirecting the output to a file and
- then displaying the file won't do what I want.
-
- While I'm asking for the impossible, can I capture stderr separately?
-
- --
-
- -----------------------------------------------------------------------
- Jack Hamilton jfh@netcom.com P. O. Box 281107 SF, CA 94128-1107
-