kill_session
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
- kill_session( connection::Lib
Tmux , target::Lib.Control Connection Tmux ; kwargs... ) kill_session(server::Lib.Session Ref Tmux , target::Lib.Server Tmux ; kwargs...).Session Ref -
Description#
kill_session(server, target; timeout=5.0, cancel=nothing, strict=false)Methods#
kill_session( connection::Lib
Tmux , target::Lib.Control Connection Tmux ; kwargs... )[source]#.Session Ref Execute
kill-sessionagainst an exact ID on the pinned daemon. ReturnControlResultafter 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::Lib
Tmux , target::Lib.Server Tmux ; kwargs...)[source]#.Session Ref - Parameters