In message "Re: [kaffe] Pipes kept open after executing subprocesses" on 04/06/08, Ito Kazumitsu <[EMAIL PROTECTED]> writes:
> Not only sync_fd but also stdin, stdout and stderr should be > closed because the application that called the subprocess > may not have closed them. > So here is my suggested patch. > synchronized(UNIXProcess.this) { > + try_close(raw_stdout); > + try_close(raw_stderr); > + try_close(stdin_stream); > + try_close(sync); > UNIXProcess.this.notifyAll(); > } No! This may close a stream while the caller application is still using it. _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe