libtmux Reference MCP Search
On this page

LibTmux.Session.DetachClientAsync

View as Markdown

Module
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs
DetachClientAsync ( shellCommand : string? , cancellationToken : CancellationToken ) Task
method [source]
method [source]
DetachClientAsync

Detaches every client attached to this session.

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.

0 declared, 0 inherited

Esc

Type to search.