delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: starting a program & getting output |
Date: | 17 Nov 2000 12:19:35 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 19 |
Message-ID: | <8v37on$bqf$1@nets3.rz.RWTH-Aachen.DE> |
References: | <3a15156e$0$18711$4dbef881 AT businessnews DOT de DOT uu DOT net> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 974463575 12111 137.226.32.75 (17 Nov 2000 12:19:35 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 17 Nov 2000 12:19:35 GMT |
Originator: | broeker@ |
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> wrote: > 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? Yes, you need a pipe, but not the low-level Unix variety. Look up info libc alpha popen That's the function you most probably want. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |