Project

General

Profile

Actions

Bug #18510

open

Unexpected waiting for console when starting ruby on windows

Added by YO4 (Yoshinao Muramatsu) almost 3 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-dev:51150]

Description

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.

No data to display

Actions

Also available in: Atom PDF

Like0