home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!nic!netlabs!lwall
- From: lwall@netlabs.com (Larry Wall)
- Newsgroups: comp.lang.perl
- Subject: Re: Pipe, et al, what am I doing wrong?
- Keywords: pipe, fork
- Message-ID: <1992Jul28.171533.5706@netlabs.com>
- Date: 28 Jul 92 17:15:33 GMT
- References: <1992Jul27.115715.21337@neptune.inf.ethz.ch>
- Sender: news@netlabs.com
- Organization: NetLabs, Inc.
- Lines: 9
- Nntp-Posting-Host: scalpel.netlabs.com
-
- In article <1992Jul27.115715.21337@neptune.inf.ethz.ch> weingart@inf.ethz.ch writes:
- : Here is a small script, that seems to hang. What am I doing
- : wrong? A ps shows that the child is waiting for the parent
- : to `wait` on it. Also, the parent seems to hang because it
- : does not get EOF.
-
- Each process needs to close the end of the pipe it's not using.
-
- Larry
-