From: Damian Yerrick 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 wrote: >"Martin Walter" 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? --