Blocks :
|
The implementation of ProcessHandle.isAlive should be more robust and handle OS failure to return the process status. The current implementation on Linux uses kill(0); If the OS denies access to kill the implementation may incorrectly report the process is alive. Additional measures like reading /proc/pid should be added.