Process.waitFor() may hang if subprocess has live descendants (lnx)
martinrb at google.com
Mon Aug 30 11:38:56 PDT 2010
This is a bug report with fix.
My code in UNIXProcess.java.linux introduced a hang if the subprocess
terminates, but it has remaining descendants that keep the pipe file
Here's a fix:
Alan, there are remaining (pre-existing) thorny issues with proper handling
of process streams and asynchronous close, that we might want to discuss
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev