Path: utzoo!attcan!uunet!fernwood!apple!rutgers!mcnc!uvaarpa!mmdf From: worley@compass.com (Dale Worley) Newsgroups: comp.lang.perl Subject: Wait for an output pipe? Message-ID: <1990Sep27.195032.25135@uvaarpa.Virginia.EDU> Date: 27 Sep 90 19:50:32 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: worley@compass.com Organization: The Internet Lines: 16 X-Name: Stephen Schaefer OK, I could collect the process ID from pipe open, but then how do I wait for that process? $pid = open(RDIST,"|rdist -f -"); ... write stuff to RDIST ... close RDIST; # Wait until process $pid is done until (wait == $pid) {} Dale Worley Compass, Inc. worley@compass.com -- Men! Get Deep Pockets aftershave -- rendolent of a fine, hand-tooled Italian leather wallet filled with crisp, new $100 bills!