Mail Archives: djgpp/1998/10/18/10:06:21
On 18 Oct 1998, Mumit Khan wrote:
> - use a temporary file. Write a popen like replacement that redirects
> both stdout and stderr. I believe the djgpp's popen already uses temp
> files, so it's already there in source form to reuse.
Since DJGPP's `popen' already exists, the simplest change is just to use
it instead of the usual Unix fork/exec paradigm.
> - dup/save the parent's stdout/err, spawn the child with the new
> descriptors for stdout/err, restore parent's stdout/err and read
> from the child's stdout/err.
This is exactly what `popen' does, so why reinvent the wheel?
Of course, the real question is does DJGPP at all need -frepo?
- Raw text -