Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

libtmux:respawn-window

Restart WINDOW as one pane and return a COMMAND-OUTCOME. KILL explicitly replaces running processes. Tmux retains its first pane and destroys every other pane in the physical window, including through other links. Other options follow RESPAWN-PANE. OBSERVE supplies a replacement window without changing earlier observations. Linked-window session context is selected by tmux. Signals STALE-TARGET or an operational condition; never retries the restart.

Source and package
Qualified name
libtmux:respawn-window
Declared in
libtmux
Package
libtmux
Source
src/process-operations.lisp
(respawn-window client window &key kill cwd environment (observe t) (command nil command-p) (shell-command nil shell-command-p) cancel-token timeout output-limit)

Public owner: libtmux

tmux command#

The tmux commands behind respawn-window.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss respawn-window.

Esc

Type to search.

Reference previewOpen reference