MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / killTmuxSession

Function killTmuxSession

source code/utils/worktree.ts:695–702  ·  view source on GitHub ↗
(sessionName: string)

Source from the content-addressed store, hash-verified

693}
694
695export async function killTmuxSession(sessionName: string): Promise<boolean> {
696 const { code } = await execFileNoThrow('tmux', [
697 'kill-session',
698 '-t',
699 sessionName,
700 ])
701 return code === 0
702}
703
704export async function createWorktreeForSession(
705 sessionId: string,

Callers 2

callFunction · 0.85
handleSelectFunction · 0.85

Calls 1

execFileNoThrowFunction · 0.85

Tested by

no test coverage detected