From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: How Do I start another DOS program from DJGPP ? Date: Wed, 09 Feb 2000 10:09:39 -0500 Organization: Nortel Networks Lines: 21 Message-ID: <38A18333.D62C247F@americasm01.nt.com> References: <87nb7r$5gb$1 AT nnrp1 DOT deja DOT com> <87okrr$455$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: wmerh0tk.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.71 [en] (X11; I; HP-UX B.10.20 9000/785) X-Accept-Language: en 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: > What my question essentially was, were: > > what is the name and sysntax of START_DOS_PROGRAM ?, which I have > gotten some hints on, and also: > > can I somehow get rid of the extra program that starts the piped two > programs, that would be fine since t would save me one executable or > one .bat file. The caller program must continue to execute and NOT wait > until the backend has terminated. That is (basically) impossible under DOS. You could use "popen" to pipe the output back in to your program, but there is no method in DOS or DJGPP to continue running the parent program concurrently with the child. -- (\/) Rolf Campbell (\/)