code: def _windows_taskkill_process_tree(pid):
      # On windows, the taskkill function with option `/T` terminate a given
      # process pid and its children.
      try:
          subprocess.check_output(
              ["taskkill", "/F", "/T", "/PID", str(pid)], stderr=None
          )
      except subprocess.CalledProcessError as e:
          # In Windows, taskkill returns 128, 255 for no process found.
          if e.returncode not in [128, 255]:
              # Let's raise to let the caller log the error details in a
              # warning and only kill the root process.
              raise
  
file_path: catboost/contrib/python/joblib/joblib/externals/loky/backend/utils.py
imports: import os
  import sys
  import time
  import errno
  import signal
  import warnings
  import subprocess
  import traceback
label_desc: Use image node_id 5 for calling a global function with example usage: _windows_taskkill_process_tree(pid) without return types