code: def run_cmd(cmd: str) -> List[str]:
      "Run a command in a subprocess."
      return (
          subprocess.check_output(cmd.split())
          .decode("utf-8")
          .splitlines()
      )
  
file_path: norfair/docs/deploy_docs.py
imports: import logging
  import subprocess
  from typing import List, Union
  from packaging import version
label_desc: Use image node_id 1 for calling a global function with example usage: run_cmd(cmd) and returns: subprocess