www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/04:17:49

Date: Mon, 19 Oct 1998 10:16:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mumit Khan <khan AT xraylith DOT wisc DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: -frepo flag, is it supported?
In-Reply-To: <70dbav$i4i$1@news.doit.wisc.edu>
Message-ID: <Pine.SUN.3.91.981019101601.7874I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 18 Oct 1998, Mumit Khan wrote:

> >Since DJGPP's `popen' already exists, the simplest change is just to use 
> >it instead of the usual Unix fork/exec paradigm.
> 
> Please note that the "... both stdout and stderr ..." statement above.  

In my experience, it is a rare program that needs stderr anyway, most
of them will live quite well with an error code from the subsidiary
program.

But if stderr is indeed needed, redirecting it before calling `popen'
solves the problem.

> "-frepo" may be a hack at heart, but it's better than anything
> currently available for GNU C++.

Thanks for the explanation.

- Raw text -


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