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, Libtmux.t .Error ) result.t -
Public owner:
Libtmux_unix