code: def _run_unmanaged_script(cmd: List) -> None:
      master_url = conf.make_master_url()
      env = os.environ.copy()
      env["DET_MASTER"] = master_url
      subprocess.run(cmd, env=env, check=True)
  
file_path: determined/e2e_tests/tests/experiment/test_unmanaged.py
imports: import json
  import os
  import subprocess
  from typing import List
  import pytest
  from tests import config
  from tests import ray_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _run_unmanaged_script(cmd) without return types