code: def test_make_subprocess(tmp_path: Path) -> None:
      process = local.start_controller(
          tmp_path,
          "python -c 'import os;print(os.environ[\"SUBMITIT_LOCAL_JOB_ID\"])'",
          timeout_min=1,
      )
      paths = utils.JobPaths(tmp_path, str(process.pid), 0)
      pg = process.pid
      process.wait()
      stdout = paths.stdout.read_text()
      stderr = paths.stderr.read_text()
      assert (
          stdout and int(stdout.strip()) == pg
      ), f"PID link is broken (stderr: {stderr})"
  
imports: import functools
  import os
  import pickle
  import re
  import signal
  import sys
  import time
  from pathlib import Path
  import pytest
  from submitit import AutoExecutor
  from ..None import helpers
  from ..core import job_environment, test_core, utils
  from .None import local, test_debug
label_desc: Use image node_id 12 for calling a global function with example usage: test_make_subprocess(tmp_path) without return types