mirror of
https://github.com/ruby/ruby.git
synced 2026-11-09 08:42:18 +08:00
Workaround for jruby/jruby#9026. JRuby attempts to call the entire `ENV[“PAGER”]` (or `ENV["RUBY_PAGER"]`) as the program name instead of splitting it into a program name and options, even if stdout and stderr are redirected to a non-tty. https://github.com/ruby/test-unit-ruby-core/commit/ccd86da00f