diff --git a/benchmark/irb_exec.yml b/benchmark/irb_exec.yml index 5575c00537..28933f8b38 100644 --- a/benchmark/irb_exec.yml +++ b/benchmark/irb_exec.yml @@ -1,10 +1,10 @@ prelude: | # frozen_string_literal: true require 'rbconfig' - irb = File.join(File.dirname(RbConfig.ruby), 'irb') + irb_f = [File.join(File.dirname(RbConfig.ruby), 'irb'), '-f'] benchmark: irb_exec: | - IO.popen(irb, 'w') do |io| + IO.popen(irb_f, 'w') do |io| io.write('exit') end loop_count: 30