Session.KillAsync
Stops this session.
Source and package
-
Description#
Group stopping arrived in tmux 3.7. Older servers reject the flag and stop nothing at all, so against those the request is logged and the flag omitted: this session still dies, its group siblings do not.
- Parameters
-
-
allExcept ( bool ) – Whether every other session is stopped instead of this one.
-
clearAlerts ( bool ) – Whether alerts are cleared in every window instead.
-
group ( bool ) – Whether every session in this session's group is stopped.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
tmux command
kill-sessionIn other ports End a session
- Python
libtmux.Session.kill - Ruby
LibTmux::Session#kill - Lua
libtmux.Session:kill - TypeScript
session.Session.kill - Rust
session.Session.kill - Go
tmux.Session.Kill - Java
io.github.libtmux.Session.kill - C++
libtmux::Session::kill - Swift
Server.kill(_:) - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.