Patch: close I/O channels when a process ends

Andrew Haley aph@redhat.com
Thu Aug 5 19:35:00 GMT 2004


David Daney writes:
 > David Daney wrote:
 > > 
 > I take it back.  But, what about any data in the pipes that is unread
 > when you do waitFor()?  It will now be lost.

That's a reasonable point.  I'm not sure it's a valid thing to do,
though.  Maybe we need to close the underlying file handle instead.

Andrew.



More information about the Java-patches mailing list