Unexpected waiting for console when starting ruby on windows
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64-mingw-ucrt]
older versions have same issue too.
how to reproduce¶
execute ruby.exe from cmd.exe command promput like concatenating the quoted path and file name notation
C:\Ruby31-x64\bin>"c:\Ruby31-x64\bin\"ruby.exe -v # => wait for console input unexpectedly puts "This is Console Input"^Z => This is Console Input # ruby terminated, version not appear
It seems to commandline separation issue.
No data to display