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

JRuby/lib/ruby/shared/pty.rb call to forkpty doesnt work on Windows #2366

Open
headius opened this issue Dec 29, 2014 · 0 comments
Open

JRuby/lib/ruby/shared/pty.rb call to forkpty doesnt work on Windows #2366

headius opened this issue Dec 29, 2014 · 0 comments

Comments

@headius
Copy link
Member

headius commented Dec 29, 2014

From http://jira.codehaus.org/browse/JRUBY-7198

FFI::NotFoundError: Function 'forkpty' not found in [msvcrt.dll]
The fix is to change 'forkpty' to '_popen' in pty.rb
But then you get the same problem with function 'close' and 'execv' and presumably several others.
This was accessed by having the zeus gem in Gemfile, and having run the bundle, then running: bundle exec rspec spec/lib

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

1 participant