Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 50728 invoked from network); 27 Apr 2004 15:34:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Apr 2004 15:34:57 -0000 Received: (qmail 72261 invoked by uid 500); 27 Apr 2004 15:34:48 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 72215 invoked by uid 500); 27 Apr 2004 15:34:48 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 72191 invoked from network); 27 Apr 2004 15:34:47 -0000 Received: from unknown (HELO bodewig.bost.de) (62.96.16.111) by daedalus.apache.org with SMTP; 27 Apr 2004 15:34:47 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.11.6/8.11.6) id i3RFYn513680; Tue, 27 Apr 2004 17:34:49 +0200 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: dev@ant.apache.org Subject: Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Execute.java X-Draft-From: ("nnfolder:mail.jakarta-ant" 59185) References: <20040427152326.43949.qmail@minotaur.apache.org> From: Stefan Bodewig Date: Tue, 27 Apr 2004 17:34:49 +0200 In-Reply-To: <20040427152326.43949.qmail@minotaur.apache.org> (mbenson@apache.org's message of "27 Apr 2004 15:23:26 -0000") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 27 Apr 2004, wrote: > } catch (InterruptedException e) { > process.destroy(); > + } finally { > + try { > + process.getInputStream().close(); > + process.getOutputStream().close(); > + process.getErrorStream().close(); > + } catch (IOException eyeOhEx) { > } > } Is it save to call getXYZStream on a Process instance after it has terminated or even been destroyed? I've never tried it and the Javadocs don't say anything. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org