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

Go API

Go documentation

tmux.Server.KillSession

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

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
Other languages
Python Ruby Lua TypeScript Rust Java.NET C++ Swift
KillSession ( ctx : context.Context , target : string ) → error
method [source]
method [source]
KillSession

KillSession terminates the session selected by tmux target syntax. Pattern and prefix matching are deliberately left to tmux. Completed nonzero exits without stderr are ignored. Transport and context errors are delivery-ambiguous.

In other ports End a session named from the server

0 declared, 0 inherited

Esc

Type to search.