libtmux Reference MCP Search
On this page

libtmux::Session::attach_command

View as Markdown

Module
libtmux
Declared in
Session
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Python TypeScript RustGoJava.NET Swift
attach_command ( ) expected< AttachCommand, CommandFailure >
methodreadonly [source]
methodreadonly [source]
attach_command

A command line that attaches a terminal to this session.

Not a method that attaches: a tmux client needs a terminal, and every command this library runs talks to it through pipes, so an attach it performed itself could only ever fail. Spawn the returned argv and retain the value until that client exits.

In other languages Attach a client to a session

0 declared, 0 inherited

Esc

Type to search.