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

Input problems when calling system() #2189

danjo830 opened this issue Nov 13, 2014 · 1 comment

Input problems when calling system() #2189

danjo830 opened this issue Nov 13, 2014 · 1 comment


Copy link

There seems to be problems with the method Kernel#system.
For example, when running this in ruby the user is prompted for a password for the Administrator user in the console, before opening a new command prompt:
system("runas /user:Administrator cmd")
Jruby prints the password prompt but does not wait for any input.

Another example:
system("set /p pathName=Enter Input:")
For this Jruby waits for input, but the entered text is not shown until enter is pressed. Then a second press on enter is required to continue.

I've tried this on Windows 8 with JRuby

Copy link

kares commented Mar 2, 2018

unfortunately, seems this got left behind ...
but since JRuby 1.7.x has EOL-ed anyone landing here please try latest JRuby 9K with a fresh report.

@kares kares closed this as completed Mar 2, 2018
@kares kares added this to the Won't Fix milestone Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

3 participants