home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 5000 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  775 b 

  1. Path: sparky!uunet!usc!nic!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Pipe, et al, what am I doing wrong?
  5. Keywords: pipe, fork
  6. Message-ID: <1992Jul28.171533.5706@netlabs.com>
  7. Date: 28 Jul 92 17:15:33 GMT
  8. References: <1992Jul27.115715.21337@neptune.inf.ethz.ch>
  9. Sender: news@netlabs.com
  10. Organization: NetLabs, Inc.
  11. Lines: 9
  12. Nntp-Posting-Host: scalpel.netlabs.com
  13.  
  14. In article <1992Jul27.115715.21337@neptune.inf.ethz.ch> weingart@inf.ethz.ch writes:
  15. : Here is a small script, that seems to hang.  What am I doing
  16. : wrong?  A ps shows that the child is waiting for the parent
  17. : to `wait` on it.  Also, the parent seems to hang because it
  18. : does not get EOF.
  19.  
  20. Each process needs to close the end of the pipe it's not using.
  21.  
  22. Larry
  23.