Patch: close I/O channels when a process ends

Tom Tromey tromey@redhat.com
Thu Aug 5 18:19:00 GMT 2004


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> I ran out of file handles.  Was there any reason we weren't
Andrew> closing the files in Process.waitFor?

It probably isn't valid to do this.
Couldn't there still be data in the OS' pipe buffer?

Tom



More information about the Java-patches mailing list