www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/08/07:15:20

From: Hans-Bernhard Broeker <broeker AT acp3bf DOT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How Do I start another DOS program from DJGPP ?
Date: 8 Feb 2000 11:40:57 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <87ovc9$k60$1@nets3.rz.RWTH-Aachen.DE>
References: <87nb7r$5gb$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 950010057 20672 137.226.32.75 (8 Feb 2000 11:40:57 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 8 Feb 2000 11:40:57 GMT
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.0 (i586))
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

arcadepreserv AT hotmail DOT com wrote:
> I am looking for a dosexex("myprog.exe");

> type of command, it must be there but what is the syntax and include
> needed ?

system()

> And then I need the calling program to proceed while the called program
> executes, how do I do this ?

Impossible in DOS. No multitasking, by design.

> a last question, which is not really essential is how can I read the
> output from the called program from the calling program ?

popen()
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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