code: def cmd_run(stage, dry=False, run_env=None):
      logger.info("Running stage '%s':", stage.addressing)
      commands = _enforce_cmd_list(stage.cmd)
      kwargs = prepare_kwargs(stage, run_env=run_env)
      executable = get_executable()
  
      if not dry:
          warn_if_fish(executable)
  
      for cmd in commands:
          display_command(cmd)
          if dry:
              continue
  
          _run(executable, cmd, **kwargs)
  
file_path: dvc/dvc/stage/run.py
imports: import os
  import signal
  import subprocess
  import threading
  from dvc.log import logger
  from dvc.utils import fix_env
  from .decorators import unlocked_repo
  from .exceptions import StageCmdFailedError
label_desc: Use image node_id 8 for calling a global function with example usage: cmd_run(stage, dry, run_env) without return types