You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No cmdlet stops a tmux server. Remove-TmuxSession, Remove-TmuxWindow and Remove-TmuxPane cover kill-session, kill-window and kill-pane, and kill-server is reachable only through the raw-command cmdlet Invoke-TmuxCommand.
Motivation
A script that owns a private server, such as one named by New-TmuxServer on its own socket, can end it only with $server | Invoke-TmuxCommand -Arguments 'kill-server' -Confirm:$false. The three kill cmdlets take a typed Session, Window or Pane and report an error ID such as Tmux.SessionRemoveFailed; the server stop has neither. The removal guide says removal gives the module no ownership of the daemon, and the compatibility guide mentions kill-server only to say that, with no daemon answering, Invoke-TmuxCommand returns an empty successful result and dispatches nothing.
Activity
Server(feat[stop]) Add Stop-TmuxServer
Server(feat[stop]) Add Stop-TmuxServer