Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Mar : Capture text from CreateProcess Console
| Subject: | Capture text from CreateProcess Console |
| Posted by: | "Tor Tveitane" (epo..@bushsoft.com) |
| Date: | Mon, 7 Mar 2005 22:25:40 |
Hi,
I run some external console apprications from my D2005 Delphi using
CreateProcess and WaitForSingleObject. During the console apps execution
some text are scrolling over the temporarily created console window.
How can I capture the text output from the called console application and
display it from my Delphi app?
Thanks an lot for tips on how to do this
best regards
Tor