code: def _enforce_cmd_list(cmd):
      assert cmd
      return cmd if isinstance(cmd, list) else cmd.splitlines()
  
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 3 for calling a global function with example usage: _enforce_cmd_list(cmd) and returns: unknown