lib/execjs/external_runtime.rb in execjs-2.2.0 vs lib/execjs/external_runtime.rb in execjs-2.2.1

- old
+ new

@@ -140,10 +140,10 @@ "\\u%04x" % ch.codepoints.to_a end end def exec_runtime(filename) - io = IO.popen(binary.split(' ') + [filename, {err: [:child, :out]}], @popen_options) + io = IO.popen(binary.split(' ') << filename, @popen_options.merge({err: [:child, :out]})) output = io.read io.close if $?.success? output