Core LibraryAPI 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.

function LibTmux.jl latest

kill_session

Module LibTmux.kill_session LibTmux

Remove the referenced tmux object and return its CommandResult . Identity checks are best effort; strict=true refuses execution. Failures after submission may have remote effects and are never retried.

Source and package
Module
LibTmux
Package
LibTmux
Source
src/operations.jl

Description#

kill_session(server, target; timeout=5.0, cancel=nothing, strict=false)

Methods#

kill_session( connection::LibTmux.ControlConnection, target::LibTmux.SessionRef; kwargs... )[source]#

Execute kill-session against an exact ID on the pinned daemon. Return ControlResult after the completion fence. Removing the session carrying this connection, its last window, or its last pane may close the connection before the fence; that outcome raises an uncertain-effect error. No retry, reconnect or subprocess fallback occurs.

kill_session(connection::ControlConnection, target; kwargs...)

kill_session(server::LibTmux.Server, target::LibTmux.SessionRef; kwargs...)[source]#

Esc

Type to search.

Reference preview Open reference