how to use pipes (was: Re: system() question)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Fri Mar 8 13:27:12 AEST 1991


In article <1991Mar7.180531.7907 at csusac.csus.edu> emmonsl at athena.ecs.csus.edu (L. Scott Emmons) writes:
> In article <5866:Mar604:22:3791 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
> >This is, of course, because you aren't waiting for the child to finish.
> Actually, it does finish...the child closes the pipeline down when it is done.

Irrelevant. Your parent does not call wait(), so your timings are wrong.

---Dan



More information about the Comp.unix.programmer mailing list