mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
3d18f88ad9
The first bug affected POSIX systems: if the app never called Process.waitFor, we'd never call waitpid on the child and thus leak a zombie process. This patch ensures that we always call waitpid by spawning a thread to handle it. The second bug affected Windows systems: we weren't closing the child's ends of the stdin, stdout, and stderr pipes after process creation, which lead to us blocking forever while reading from the child's stdout or stderr. |
||
---|---|---|
.. | ||
io | ||
lang | ||
net | ||
nio | ||
security | ||
text | ||
util |