Core Library0.xAPI Reference

Choose documentation 3

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.

Swift API

method libtmux-swift latest

Server.respawn(_:running:killingExisting:startDirectory:)

Restarts the command in a pane.

Source and package
Qualified name
Server.respawn(_:running:killingExisting:startDirectory:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Navigation.swift

Description#

  • 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.
    • startDirectory: where to start the replacement command.

tmux command#

The tmux commands behind respawn(_:running:killingExisting:startDirectory:).

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference