MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / getPidFilePath

Function getPidFilePath

src/daemon/utils.ts:72–75  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

70export const IS_WINDOWS = os.platform() === 'win32';
71
72export function getPidFilePath(sessionId: string) {
73 const runtimeDir = getRuntimeHome(sessionId);
74 return path.join(runtimeDir, 'daemon.pid');
75}
76
77export function getDaemonPid(sessionId: string) {
78 try {

Callers 5

daemon.tsFile · 0.85
startDaemonFunction · 0.85
stopDaemonFunction · 0.85
getDaemonPidFunction · 0.85
symlink.test.tsFile · 0.85

Calls 1

getRuntimeHomeFunction · 0.85

Tested by

no test coverage detected