code: def spawnv_passfds(path, args, passfds):
      passfds = sorted(passfds)
      if sys.platform != "win32":
          errpipe_read, errpipe_write = os.pipe()
          try:
              from .reduction import _mk_inheritable
              from .fork_exec import fork_exec
  
              _pass = [_mk_inheritable(fd) for fd in passfds]
              return fork_exec(args, _pass)
          finally:
              os.close(errpipe_read)
              os.close(errpipe_write)
      else:
          cmd = " ".join(f'"{x}"' for x in args)
          try:
              _, ht, pid, _ = _winapi.CreateProcess(
                  path, cmd, None, None, True, 0, None, None, None
              )
              _winapi.CloseHandle(ht)
          except BaseException:
              pass
          return pid
  
file_path: catboost/contrib/python/joblib/joblib/externals/loky/backend/resource_tracker.py
imports: import os
  import shutil
  import sys
  import signal
  import warnings
  import threading
  from _multiprocessing import sem_unlink
  from multiprocessing import util
  from .None import spawn
label_desc: Use image node_id 2 for calling a global function with example usage: spawnv_passfds(path, args, passfds) and returns: pid, fork_exec