From: "YO4 (Yoshinao Muramatsu)" Date: 2022-01-23T14:53:12+00:00 Subject: [ruby-dev:51150] [Ruby master Bug#18510] Unexpected waiting for console when starting ruby on windows Issue #18510 has been reported by YO4 (Yoshinao Muramatsu). ---------------------------------------- Bug #18510: Unexpected waiting for console when starting ruby on windows https://bugs.ruby-lang.org/issues/18510 * Author: YO4 (Yoshinao Muramatsu) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- # ruby version C:\Ruby31-x64\bin>"c:\Ruby31-x64\bin\ruby.exe" -v 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. -- https://bugs.ruby-lang.org/