libtmux Reference MCP Search
On this page

Server.respawn(_:running:killingExisting:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Navigation.swift
respawn(_:running:killingExisting:) ( pane : Pane , running : [String] , killingExisting : Bool ) () ( window : Window , running : [String] , killingExisting : Bool ) ()
methodasyncoverload2 overloads [source]
methodasyncoverload2 overloads [source]
respawn(_:running:killingExisting:)

Restarts the command in a pane.

  • Parameters:
    • pane: the pane to restart.
    • command: what to run instead. Omitted, tmux repeats the command the pane was created with.
    • killingExisting: replaces whatever is still running, rather than refusing while the pane is busy.
Raises

0 declared, 0 inherited

Esc

Type to search.