ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Execute.java
Date Tue, 27 Apr 2004 15:34:49 GMT
On 27 Apr 2004, <mbenson@apache.org> 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


Mime
View raw message