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

Function pipePane

dev/local/tmux.ts:463–473  ·  view source on GitHub ↗
(
  sessionName: string,
  windowTarget: string | number,
  pane: number,
  command: string
)

Source from the content-addressed store, hash-verified

461 '-J',
462 '-t',
463 `${sessionName}:${pane.windowIndex}.${pane.paneIndex}`,
464 '-S',
465 `-${historyLines}`,
466 ],
467 { encoding: 'utf8' }
468 );
469}
470
471function pipeServicePane(sessionName: string, serviceName: string, command: string): void {
472 const pane = findServicePane(sessionName, serviceName);
473 if (!pane) throw new Error(`Service ${serviceName} is not running in ${sessionName}`);
474 execFileSync(
475 'tmux',
476 ['pipe-pane', '-t', `${sessionName}:${pane.windowIndex}.${pane.paneIndex}`, command],

Callers 1

startServiceInTmuxFunction · 0.90

Calls 2

paneTargetFunction · 0.85
escapeForShellFunction · 0.85

Tested by

no test coverage detected