Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys.process.Process isAlive for 2.12 to match java8 lang.Process #9454

Closed
scabug opened this issue Aug 31, 2015 · 3 comments
Closed

sys.process.Process isAlive for 2.12 to match java8 lang.Process #9454

scabug opened this issue Aug 31, 2015 · 3 comments

Comments

@scabug
Copy link

scabug commented Aug 31, 2015

Very low hanging easy request to add support to poll a sys.process.Process for "alive-ness" to match the ability of java.lang.Process isAlive method.
It can be very very useful to have a non-blocking way to at least periodically poll that a process is done.
We'd like to make use of sys.process.Process more reactive for use with akka actors without the blocking of the waitFor which defeats reactive principles.
Since java8 is required for scala 2.12, then it should be quite easy to add an equivalent to java8 Process isAlive method into the sys.process.Process.

@scabug
Copy link
Author

scabug commented Aug 31, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9454?orig=1
Reporter: craig bordelon (bord)
Affected Versions: 2.12.0-M2

@scabug
Copy link
Author

scabug commented Sep 8, 2015

@SethTisue said:
I believe a pull request with this change (targeting 2.12) would be welcome.

@scabug scabug closed this as completed Dec 18, 2015
@scabug
Copy link
Author

scabug commented Dec 18, 2015

@lrytz said:
scala/scala#4875

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

No branches or pull requests

2 participants