MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / killSession

Function killSession

dev/local/tmux.ts:111–117  ·  view source on GitHub ↗
(sessionName: string)

Source from the content-addressed store, hash-verified

109 });
110}
111
112function setSessionEnvironment(sessionName: string, env: Record<string, string>): void {
113 for (const [key, value] of Object.entries(env)) {
114 execFileSync('tmux', ['set-environment', '-t', sessionName, key, value], { stdio: 'ignore' });
115 }
116}
117
118function killSession(sessionName: string): void {
119 try {
120 execSync(`tmux kill-session -t '=${sessionName}'`, { stdio: 'ignore' });

Callers 2

doCleanupFunction · 0.90
cmdStopFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected