delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/15/06:55:28

Date: Wed, 15 Nov 2000 13:39:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: abacuc <f DOT onorati AT tiscalinet DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: two program
In-Reply-To: <8utld8$ufb$1@lacerta.tiscalinet.it>
Message-ID: <Pine.SUN.3.91.1001115133651.23547M@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 15 Nov 2000, abacuc wrote:

> Is it possibile with djgpp to launch a program B from a program A in another
> Dos Box (different from the Dos Box where is running the program A)?

Yes.  Launch the program B via the START.EXE utility that is part of 
Windows, like this:

	system ("start.exe B.exe");

> (Naturally with the program A stopped)

Actually, the above doesn't stop program A.  Is that a problem?

Note that programs which you start like above don't inherit file handles, 
so you cannot run them with their standard handles redirected.  You also 
cannot pass long command lines, because START.EXE is not a DJGPP program.

- Raw text -


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