-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Open3.popen3 with block fails on Windows #3948
Comments
Ran |
@elcubo could you test with JRuby 1.7.25? |
I've run my cute little test program on JRuby v1.7.13, and it worked perfectly. Another thing I should mention is that when running on v9.1.2.0, the parameters to the program being called are getting mixed up somehow. I'm not quite sure how, but the output from the command (whoami.exe) is
I don't know if it is related, but my guess is, it is. |
This is likely because we updated open3.rb to match MRI's version, which depends on spawn working properly. Our spawn implementation in Windows is still a bit lacking. In the short term, we could restore the old open3.rb logic on windows, which should be as good as 1.7 at least. The longer term fix would be to get the proper spawn logic into JRuby. |
Verified on nightly build. Thanks! 😎 |
Environment
Windows 7, 64 bit
Jruby 9.1.2.0
Java 1.8.0_91-b14
Expected Behavior
Running the following program
This should complete without exception.
Actual Behavior
The program fails with an exception:
The text was updated successfully, but these errors were encountered: