MCPcopy Create free account
hub / github.com/Noumena-Network/code / killTmuxSession

Function killTmuxSession

src/utils/worktree.ts:705–712  ·  view source on GitHub ↗
(sessionName: string)

Source from the content-addressed store, hash-verified

703}
704
705export async function killTmuxSession(sessionName: string): Promise<boolean> {
706 const { code } = await execFileNoThrow('tmux', [
707 'kill-session',
708 '-t',
709 sessionName,
710 ])
711 return code === 0
712}
713
714export async function createWorktreeForSession(
715 sessionId: string,

Callers 2

callFunction · 0.85
handleSelectFunction · 0.85

Calls 1

execFileNoThrowFunction · 0.70

Tested by

no test coverage detected