Re: Piping capability communication, data vs. descriptor capability strengths
| Newsgroups | gmane.comp.capabilities.general,gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
Trey Boudreau <trey-gaUk1npE+QlWk0Htik3J/[email protected]> wrote: > > I've never done that - normally when I set up one pipe between a pair > > of processes I can set up two. You'd rarely pass a descriptor to a > > program you call directly and I don't think there's any shell pipeline > > syntax to do so. > > > "call directly" usually means fork/exec, in which case the child > inherits all of your existing file descriptors so you don't need to send > them. That's exactly what I mean.