delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/19/13:01:54

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: starting a program & getting output
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <805g1tc9ejnclulvqjlto7qd0u9l180v1s@4ax.com>
References: <3a15156e$0$18711$4dbef881 AT businessnews DOT de DOT uu DOT net> <834s1679wg DOT fsf AT mercury DOT st DOT hmc DOT edu>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 25
X-Trace: /Kw5eGNMa55wVdyi4Sr/e1xKTu/8ddKZgpwWVX1KTo9bMS1WtZkuUqag9VK7ORj9L4Ii9//Zitnc!pLqi9Zk3oD3yDqCcsvRBwCx8HiHfyIEZ8q28IxpRj9EqchDxB41pSQclZUuyz4FlRzad0HfyPwIv!zA==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sun, 19 Nov 2000 17:56:28 GMT
Distribution: world
Date: Sun, 19 Nov 2000 17:56:28 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 17 Nov 2000 10:04:15 -0800, Nate Eldredge <neldredge AT hmc DOT edu>
wrote:

>"Martin Walter" <mw AT diezwei DOT de> writes:
>
>> I want to start a program as a child-process and receive the output for
>> further processing
>> (like Winzip does with arj.exe).
>> I have no idea about how to do this. I've read about a pipe on unix but how
>> can
>> I do this in DOS?
>
>Read about the popen function.  (It's probably what you'd use on
>Unix, too.)

Does popen() have problems with pulling output from Win32 console
programs?

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019