Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-raku latest

Server.kill-server

Explicitly terminate this observed daemon. Owned callers must still close to join cleanup.

Source and package
Qualified name
LibTmux::Server.kill-server
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
lib/LibTmux/Server.rakumod
Other languages
Perlmethod Erlangfunction PowerShell Julia Elixir Haskell Common Lisp PythonRuby Lua TypeScriptRustGoJavaC#C++SwiftKotlinScala OCaml F# Clojure
method kill-server(Cancellation :$cancel = Cancellation --> Result:D)

Description#

Explicitly terminate this observed daemon. Owned callers must still close to join cleanup.

Parameters

tmux command#

The tmux commands behind kill-server.

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Shut the tmux server down

Equivalents of Shut the tmux server down in other languages
Language Equivalent
Python libtmux.Server.kill
Ruby LibTmux::Server#kill
Erlang tmux_server:stop_owned/1 Requires the ownership token for a library-owned daemon. Closing a borrowed endpoint preserves its daemon.
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.kill
Rust server.Server.kill
Go tmux.Server.Kill
Java io.github.libtmux.Server.killServer
Clojure libtmux.core/kill-server!
Kotlin io.github.libtmux.kotlin.Server.killServer
Scala io.github.libtmux.scaladsl.Server.killServer
C# LibTmux.Server.KillAsync
C++ libtmux::Server::kill
Swift Server.killServer()
OCaml Client.close releases transport resources. The public client API does not terminate a borrowed tmux daemon.
Perl LibTmux::Server::kill_server Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes.

No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Common Lisp or F#.

Esc

Type to search.

Reference previewOpen reference