Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-dotnet latest

Session.DetachClientAsync

Namespace LibTmux.Session.DetachClientAsync LibTmux

Detaches every client attached to this session.

View as Markdown

Source and package
Module
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs
Other languages
Python Ruby Lua TypeScriptRustGoJavaC++Swift Kotlin Scala F#
DetachClientAsync ( shellCommand : string? , cancellationToken : CancellationToken ) → Task
method [source]

Description#

The session scope is always sent, because -s is the only detach-client flag group that names a session rather than a client.

Parameters
  • shellCommand ( string? ) – A command the detached clients run, when any.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

In other ports Detach every client attached to a session
Esc

Type to search.