Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.077 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'does.': 0.07; 'examples': 0.12; 'am,': 0.13; 'wrote:': 0.15; 'subject:Trying': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'header:In-Reply-To:1': 0.22; 'setup,': 0.30; 'message-id:@gmail.com': 0.32; 'to:addr:python- list': 0.34; 'instead': 0.34; 'header:User-Agent:1': 0.34; "can't": 0.34; 'explain': 0.36; 'but': 0.37; 'using': 0.37; 'received:192': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'received:192.168.1': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; "i'd": 0.40; 'give': 0.60; 'your': 0.60; 'peter': 0.62; 'otten': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=hNff+iq2GUEcKDlfPB0Jd+C2+X4jW0NjIHoscvLQNGI=; b=TtZe7wqzImcW096apC8OUoDQyT18zT25sZtFpI+zAn7ApmcahYGenjdzs2za+b8IWq 88MuJdJo1CA+/kIHNBmpRRAYnDaMRRQb2s0I1nuhCky+0/4RaX1bys8KbyYDgf0akYHu PTi+2kRVy6hv5WV7Q6RwRQ9bFijiB/MvtO0Qg= Date: Fri, 01 Jul 2011 03:02:16 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: Trying to chain processes together on a pipeline References: <4E096D3B.3080300@gmail.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309507347 news.xs4all.nl 21809 [2001:888:2000:d::a6]:50514 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8630 On 2011.07.01 02:26 AM, Peter Otten wrote: > I can't reproduce your setup, but I'd try using communicate() instead of > wait() and close(). I don't really know what communicate() does. The docs don't give much info or any examples (that explain communicate() anyway), and don't say when communicate() is useful.