Date: Mon, 19 Oct 1998 10:16:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Mumit Khan 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.