MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / stopCommand

Function stopCommand

__tests__/daemon-lock-holder.test.ts:100–102  ·  view source on GitHub ↗
(pid: number)

Source from the content-addressed store, hash-verified

98}
99
100function stopCommand(pid: number): string {
101 return windows ? `taskkill /PID ${pid} /F` : `kill ${pid}`;
102}
103
104beforeEach(async () => {
105 root = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'cg-lock-holder-')));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected