You want to use APR. popen() on MS based OS's has a number of very icky
properties. (It won't work correctly in apps that don't have a console, not
to mention the Win9x limitation that's noted in the APR process mucking
From: Ben Collins-Sussman [mailto:firstname.lastname@example.org]
Sent: Monday, January 29, 2001 8:00 PM
To: Bill Tutt
Cc: Bruce Korb; SVN Dev List; email@example.com
Subject: Re: external diff headers
Oooh, anyone want to improve APR in this regard? Or do we need to use
APR at all? My freebsd man page says that popen() requires only
stdio.h ... is it just plain old ANSI C?
"Bill Tutt" <firstname.lastname@example.org> writes:
> The core APR process mucking functionality has enough support to setup
> something like a APR based popen(), or indeed popen2()...
> -----Original Message-----
> From: Bruce Korb [mailto:email@example.com]
> Sent: Friday, January 26, 2001 2:01 PM
> To: Ben Collins-Sussman
> Cc: SVN Dev List; firstname.lastname@example.org
> Subject: Re: external diff headers
> Ben Collins-Sussman wrote:
> > What we really need is a way to tell the diff program: "if you find a
> > diff, print these headers".
> > Anyone have suggestions here?
> What you really need is a popen(...,"r") call.
> If you are able to read a line of text, then emit the header first.
Received on Sat Oct 21 14:36:21 2006