1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Print starting debug message with RELINE_STDERR_TTY

This commit is contained in:
aycabta 2019-06-18 21:55:40 +09:00
parent af800b8ca2
commit 32e65e9e5a

View file

@ -322,6 +322,7 @@ module Reline
if ENV['RELINE_STDERR_TTY']
$stderr.reopen(ENV['RELINE_STDERR_TTY'], 'w')
$stderr.sync = true
$stderr.puts "Reline is used by #{Process.pid}"
end
otio = Reline::IOGate.prep