-
Notifications
You must be signed in to change notification settings - Fork 21
ProcessBuilder.Source.#> is nonblocking from 2.12.1 #10328
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
Comments
I can't reproduce the result of the REPL printing a Try |
Hi @som-snytt , I'm not quite familiar with scala REPL, so I just paste my result when running (I just noticed that
|
Hi @som-snytt and @hongxuchen , I have tried to look at this issue, this issue can be reproduce in Scala 2.12.1 and Scala 2.12.2, and create a PR scala/scala#5918 to try to fix this issue. Could you help review? |
@chengpohi 👍 Thanks so much ! The fix looks good to me. But as I'm not able to build the source and try now, so I cannot help much. Anyway, I'll close this issue and let professional reviewers judge your PR 😄 |
Thanks, I've helped look at the process code before, so I'll take a look. Let's leave the issue open until a fix is merged. |
Uh oh!
There was an error while loading. Please reload this page.
It seems that from 2.12.1
ProcessBuilder.Source.#>
begins working asynchronously, which conflicts with the statements:Real external commands like
s"curl ${s}" !
is working correctly. #10055 mentioned a similar issue ofProcessBuilder.Sink.#<
but was introduced in 2.12.0 .The text was updated successfully, but these errors were encountered: