libtmux::Session::attach_command
- Module
- libtmux
- Declared in
- Session
- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Python Ruby Lua TypeScript RustGoJava.NET Swift
- attach_command ( ) expected< AttachCommand, CommandFailure >
-
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 ports Attach a client to a session
- Python
libtmux.Session.attach - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no direct equivalent; the client is out of scope for this port
- Rust
control.ControlMode.attach - Go
tmux.Server.AttachSession - Java
io.github.libtmux.control.ControlClient.ControlClient.attach - .NET
LibTmux.Server.AttachSessionAsync - Swift reached through
Server.connected(attachingTo:), which scopes a block rather than attaching a client
- Python
0 declared, 0 inherited