MCPcopy
hub / github.com/microsoft/playwright / removeProcessHandlersIfNeeded

Function removeProcessHandlersIfNeeded

packages/utils/processLauncher.ts:123–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 }
122}
123function removeProcessHandlersIfNeeded() {
124 if (killSet.size)
125 return;
126 for (const handler of installedHandlers)
127 process.off(handler, processHandlers[handler]);
128 installedHandlers.clear();
129}
130
131export async function launchProcess(options: LaunchProcessOptions): Promise<LaunchResult> {
132 const stdio: ('ignore' | 'pipe')[] = options.stdio === 'pipe' ? ['ignore', 'pipe', 'pipe', 'pipe', 'pipe'] : ['pipe', 'pipe', 'pipe'];

Callers 2

launchProcessFunction · 0.85
killProcessFunction · 0.85

Calls 2

offMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…