Mail Archives: djgpp/1998/10/19/04:17:49
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 -