docs: def capture_shell(command):
      """
      Return the stdout/stderr from a command.
      """
      proc = subprocess.Popen(command,
                              stdout=subprocess.PIPE,
                              stderr=subprocess.PIPE,
                              shell=True)
  
      return proc.communicate()