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

9.0.0.0.rc2 popen3 doesn't work on Windows #3125

Closed
yamam opened this issue Jul 9, 2015 · 2 comments
Closed

9.0.0.0.rc2 popen3 doesn't work on Windows #3125

yamam opened this issue Jul 9, 2015 · 2 comments

Comments

@yamam
Copy link

yamam commented Jul 9, 2015

$ jruby --version
jruby 9.0.0.0.rc2 (2.2.2) 2015-07-09 ff331eb Java HotSpot(TM) Client VM 25.45-b02 on 1.8.0_45-b14 +jit [Windows 7-x86]

$ jruby -r open3 -d -e 'Open3.popen3("notepad")'
NoMethodError: undefined method `popen3' for IO:Class
  method_missing at org/jruby/RubyBasicObject.java:1597
          popen3 at C:/jruby-9.0.0.0.rc2/lib/ruby/stdlib/jruby/open3_windows.rb:74
           <top> at -e:1
@headius
Copy link
Member

headius commented Jul 13, 2015

Bleh. I thought I'd restored everything necessary. Will look into this.

@headius
Copy link
Member

headius commented Jul 13, 2015

Ok, it's working now. I tested by forcing the use of the old Windows-friendly IO.popen3. This does not get open3 working better than in 1.7; popen2 and friends still do not work properly. We will fix this after JRuby 9.0.0.0.

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