Bruce Korb wrote:
>> -----Original Message-----
>> From: Karl Fogel [mailto:kfogel@galois.collab.net]
>> Sent: Tuesday, January 30, 2001 7:56 AM
>> To: Bruce Korb
>> Cc: 'sussman@red-bean.com'; Bill Tutt; SVN Dev List
>> Subject: Re: external diff headers
>>
>>
>> Bruce Korb <bkorb@allegronetworks.com> writes:
>>
>>> popen(3S) appears in my 4.1 BSD manual (1981) and my
>>> System Vr1 manual (1983). The question is, are you
>>> worried about Windows & BeOS? I don't know about them.
>>> They are short on some pretty standard calls....
>>
>> Yeah, we are trying to be portable to Windows at least.
>
>
> Then I would suggest a popen() wrapper for your APR thing.
> Generally, a #-define into popen and a kludge around
> system() on broken boxes. (run system() redirecting output,
> and opening the redirected file when done. Yuck, but then
> what can you expect?)
But you can portably open a pipe to a child process in APR. Karl, you
did that with the patch and merge bits in the client lib. I think you
want apr_create_pipe.
--
Brane �ibej
home: <brane_at_xbc.nu> http://www.xbc.nu/brane/
work: <branko.cibej_at_hermes.si> http://www.hermes-softlab.com/
ACM: <brane_at_acm.org> http://www.acm.org/
Received on Sat Oct 21 14:36:20 2006