def _init_log(log_dir):
  desktop.log.basic_logging(PROC_NAME, log_dir)
  if os.geteuid() == 0:
    desktop.log.chown_log_dir(g_user_uid, g_user_gid)
Wrapper function to kill a subprocess.
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/supervisor.py/_init_log--crossover with--dataset/ETHPy150Open legastero/Kestrel/kestrel/plugins/kestrel_executor.py/kestrel_executor._cancel