Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Client.connect

Attach to an existing local daemon with at least one session. The caller and daemon must share the PID namespace and filesystem. A local socket pathname alone does not establish these preconditions. timeout is the maximum seconds per control exchange, defaulting to one second. Requires Linux pidfd support. The client belongs to the current domain. Initial and auxiliary attachments suppress tmux's update-environment behavior.

Source and package
Qualified name
Libtmux_unix.Client.connect
Module
Libtmux_unix
Declared in
Client
Package
libtmux-unix
Source
unix/libtmux_unix.mli
val connect : ?cleanup:Cleanup.t -> ?binary:string -> ?timeout:float -> Libtmux.Endpoint.t -> (t, Libtmux.Error.t) result

Public owner: Libtmux_unix

Parameters
Esc

Type to search.

Reference previewOpen reference