https://defect.opensolaris.org/bz/show_bug.cgi?id=13885



--- Comment #2 from Vladimir Kotal <[email protected]> 2010-07-27 09:45:05 
UTC ---
(In reply to comment #1)
> I see the same problem if I first check out the OpenSSL sources and then 
> remove
> cvs.openssl.org from ~/.ssh/known_host before I try to index the sources.
> 
> I was hoping this could be solved by calling getOutputStream().close() on the
> Process object (and make it fail instead of hanging), but it seems like the
> input/output from the ssh process is not redirected along with the 
> input/output
> from the parent process. Instead, it goes directly to the terminal. I found
> that even writing "yes\n" to the cvs process didn't help, since it was not
> forwarded to the ssh sub-process.

A robust solution would be to set a time out (if no data are produced by the
process) and then kill it.

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to