delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/17/13:30:39

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: starting a program & getting output
Date: 17 Nov 2000 10:04:15 -0800
Organization: InterWorld Communications
Lines: 18
Sender: nate AT mercury DOT st DOT hmc DOT edu
Message-ID: <834s1679wg.fsf@mercury.st.hmc.edu>
References: <3a15156e$0$18711$4dbef881 AT businessnews DOT de DOT uu DOT net>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 974484256 82420 134.173.57.219 (17 Nov 2000 18:04:16 GMT)
X-Complaints-To: usenet AT news DOT interworld DOT net
NNTP-Posting-Date: Fri, 17 Nov 2000 18:04:16 +0000 (UTC)
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Martin Walter" <mw AT diezwei DOT de> writes:

> Hi there!
> 
> 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.)

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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