code: def run_command(command, **extra_environ):
      print("# run command:", command)
      if isinstance(command, str):
          command = command.split()
      subprocess.run(
          command,
          stderr=subprocess.STDOUT,  # azure will highlight stderr, which is annoying
          cwd=nni_root,
          check=True,
          env={**os.environ, **extra_environ},
      )
  
imports: from pathlib import Path
  import os
  import subprocess
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: run_command(command) without return types