Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-java latest

ControlClient.attachUnfenced

Attaches a control client to whatever server now answers this endpoint.

Source and package
Qualified name
io.github.libtmux.control.ControlClient.attachUnfenced
Package
io.github.libtmux.control
Declared in
ControlClient
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/ControlClient.java

Description#

Attaching is what makes tmux push %output: a control client that never attaches is told about command replies and nothing else.

This does not check which tmux process answered. A socket can be taken over by a new server that reuses the same session id. io.github.libtmux.Server#control attaches to the process a capture already named; prefer it.

Parameters
Esc

Type to search.

Reference preview Open reference