diff options
author | aycabta <aycabta@gmail.com> | 2019-06-18 21:55:40 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-06-18 21:58:05 +0900 |
commit | 32e65e9e5adbfb8b3d67e0ec0865a3f90d2e82dd (patch) | |
tree | d9b6b9a37371ccadf6375a3c814d5d9dcc0a6cc7 /lib | |
parent | af800b8ca25fc453da4e73b9e4628299605b5289 (diff) | |
download | ruby-32e65e9e5adbfb8b3d67e0ec0865a3f90d2e82dd.tar.gz |
Print starting debug message with RELINE_STDERR_TTY
Diffstat (limited to 'lib')
-rw-r--r-- | lib/reline.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index 191d8bb158..c27e4a380d 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -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 |