# File lib/execjs/external_runtime.rb, line 187 def sh(command) output = nil IO.popen(command) { |f| output = f.read } if @encoding Iconv.new('UTF-8', @encoding).iconv(output) else output end end