The normal way to do this is as frodo72 describes: dup the pipe FDs to the child's STDIN and STDOUT. You may still have to turn off FD_CLOEXEC on them; at any rate it's probably safest and most portable.
In reply to Re: How to hook up C's socketpair() with Perl's?
by sgifford
in thread How to hook up C's socketpair() with Perl's?
by mhutch7714
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |