This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: close I/O channels when a process ends


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]