class ExecJS::ExternalRuntime

def exec_runtime(filename)

def exec_runtime(filename)
  io = IO.popen(binary.split(' ') << filename, @popen_options.merge({err: [:child, :out]}))
  output = io.read
  io.close
  if $?.success?
    output
  else
    raise RuntimeError, output
  end
end