On Fri, Mar 16, 2001 at 05:46:49AM +0000, Tony Finch wrote:
> Peter Pentchev <[EMAIL PROTECTED]> wrote:
> >
> >What I did was implement an 'exec' portal method, which executes a program
> >with given arguments, obtained from the path components and portal.conf
> >rules, and returns a - basically read-only - descriptor connected to its
> >stdout and stderr.  Kind of simple, pipe(), fork(), dup2(), exec()..
> 
> Nice. Is there any reason not to add some bidirectional support by
> connecting the descriptor to stdin as well?

There was at the time - socketpair(2) had totally slipped my mind ;)

G'luck,
Peter

-- 
This sentence contradicts itself - or rather - well, no, actually it doesn't!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to