MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / disposeProcess

Function disposeProcess

packages/agent-core/src/tools/support/run-rg.ts:63–69  ·  view source on GitHub ↗
(proc: KaosProcess)

Source from the content-addressed store, hash-verified

61}
62
63async function disposeProcess(proc: KaosProcess): Promise<void> {
64 try {
65 await proc.dispose();
66 } catch {
67 /* best-effort cleanup */
68 }
69}
70
71export async function runRipgrepOnce(
72 kaos: Kaos,

Callers 2

killProcFunction · 0.70
runRipgrepOnceFunction · 0.70

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected