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

Method pidAlive

apps/kimi-code/src/cli/sub/server/kill.ts:41–41  ·  view source on GitHub ↗
(pid: number)

Source from the content-addressed store, hash-verified

39 resolveToken(): string | undefined;
40 signalPid(pid: number, signal: NodeJS.Signals): boolean;
41 pidAlive(pid: number): boolean;
42 sleep(ms: number): Promise<void>;
43 stdout: Pick<NodeJS.WriteStream, 'write'>;
44 now(): number;

Callers 1

waitForExitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected