Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

Python documentation

libtmux.Server.kill_session

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
Ruby Lua TypeScript Rust GoJava.NET C++ Swift
kill_session ( self , target_session : str | int ) → Server
method [source]
method [source]
kill_session

Kill tmux session.

Parameters
  • target_session ( str | int ) – target_session: str. note this accepts fnmatch(3). 'asdf' will kill 'asdfasd'.

Returns

Server

Raises
In other ports End a session named from the server

0 declared, 0 inherited

Esc

Type to search.