class_docstr: A wrapper for running commands in ray ci docker container
docstr: Run a script in container and returns output
docstr_tok: ["Run","a","script","in","container","and","returns","output"]
code: def run_script_with_output(self, script: List[str]) -> bytes:
      """
      Run a script in container and returns output
      """
      return subprocess.check_output(self.get_run_command(script))
  
file_path: ray/ci/ray_ci/container.py
imports: import abc
  import os
  import subprocess
  import sys
  from typing import List, Tuple, Optional
label_desc: Use image node_id 2 for calling the Container obj's underlying member method code with example usage: obj.run_script_with_output(script) and returns: subprocess