MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isTmuxAvailable

Function isTmuxAvailable

src/utils/swarm/backends/detection.ts:73–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 * Checks if tmux is available on the system (installed and in PATH).
72 */
73export async function isTmuxAvailable(): Promise<boolean> {
74 const result = await execFileNoThrow(TMUX_COMMAND, ['-V'])
75 return result.code === 0
76}
77
78/**
79 * Checks if we're currently running inside iTerm2.

Callers 2

detectAndGetBackendFunction · 0.70
isAvailableMethod · 0.70

Calls 1

execFileNoThrowFunction · 0.85

Tested by

no test coverage detected