Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.lang.perl Subject: Re: Wait for an output pipe? Message-ID: <1990Sep27.171028.929@iwarp.intel.com> Date: 27 Sep 90 17:10:28 GMT References: Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Distribution: comp Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 19 In-Reply-To: sps@mcnc.org (Stephen Schaefer) In article , sps@mcnc (Stephen Schaefer) writes: | However, when it is finished writing, it does not wait for the rdist | to finish, but exits immediately, giving me my shell prompt, after | which I start seeing progress reports from rdist. Before reading a | lot of perl source code and seemingly irrelevant pieces of the manual, | (if a simple answer is in the man page, it ought to be mentioned under | open or wait, and it's not), I'd like someone to tell me: how do I | wait for the output pipe to finish? Just close it. Yeah, it's not under open() or write(), but close(). print +('a'..'z','J','P',',',' ')[26,20,18,19,29,0,13,14,19,7,4,17,29,27,4,17,11,29,7,0,2,10,4,17,28] -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/