in reply to Fork and pipe
You're prints from the child are buffered. Set $| = 1; in the child, after you reopen STDOUT.
I see a couple of other problems. The parent appears to only read one name, and the child does not exit 0; when done.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Fork and pipe
by gri6507 (Deacon) on Aug 30, 2002 at 16:07 UTC |