scala/scala — pull request #1522 by possiblywrong (2012-10-24 07:02:03+00:00)
Title: SI-6488: Fix for race with open I/O fds

Unless the I/O threads for error and output are closed prior to Process.destroy() there is a potential race condition that ends in the I/O threads raising an IOException.

Added test case and resubmitted against 2.10.x

CLA also signed and confirmed.

Supersedes https://github.com/scala/scala/pull/1484 which may now be closed.