Skip to content

Conversation

LeeTibbert
Copy link
Contributor

javalib java.lang.process.UnixProcessGen2#isAlive now correctly returns "false" when a prior C waitpid()
has reported the process as having exited. That is, the cached value is respected & reported.

Previously, the incorrect inverse of the cached value was reported. Thus querying isAlive for a process
which had exited might lie and return "true". No telling what havoc that might cause.

@WojciechMazur WojciechMazur merged commit f75b940 into scala-native:main Jun 5, 2024
@ekrich
Copy link
Member

ekrich commented Jun 5, 2024

@LeeTibbert Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants