MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / pid_existed

Function pid_existed

emrun.py:422–426  ·  view source on GitHub ↗
(pid)

Source from the content-addressed store, hash-verified

420 running_browser_processes = list_processes_by_name(browser_exe)
421
422 def pid_existed(pid):
423 for proc in previous_browser_processes:
424 if proc['pid'] == pid:
425 return True
426 return False
427
428 for p in running_browser_processes:
429 logv(f'Detected running browser process id: {p["pid"]}, existed already at emrun startup? {pid_existed(p["pid"])}')

Callers 1

detect_browser_processesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected