code: def run_maze_job_through_cli(
      hydra_overrides: Dict[str, str], config_name: str
  ):
      """Runs rollout with the given config overrides using maze_run in a separate process.
  
      Note that run this way, Hydra will create an output sub-directory.
  
      :param hydra_overrides: Config overrides for hydra.
      :param config_name: The name of the default config.
      """
  
      overrides = [
          key + "=" + str(val) for key, val in hydra_overrides.items()
      ]
      result = subprocess.run(
          ["maze-run", "-cn", config_name] + overrides
      )
      assert result.returncode == 0
  
file_path: maze/maze/test/shared_test_utils/run_maze_utils.py
imports: import subprocess
  from typing import Dict
  from hydra.core.hydra_config import HydraConfig
  from hydra import initialize_config_module, compose
  from omegaconf import open_dict, DictConfig
  from maze.maze_cli import maze_run
label_desc: Use image node_id 2 for calling a global function with example usage: run_maze_job_through_cli(hydra_overrides, config_name) without return types