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-pane

Restart PANE's process and return a COMMAND-OUTCOME. KILL explicitly replaces a running process; otherwise tmux requires it to have exited. Omit COMMAND and SHELL-COMMAND to reuse the previous command. Explicit argv, shell text, literal CWD and ENVIRONMENT follow NEW-WINDOW. OBSERVE returns a replacement pane through OUTCOME-VALUE; its earlier capture stays unchanged. The process may exit before observation. Signals STALE-TARGET or an operational condition; never retries an uncertain restart.

Source and package
Qualified name
libtmux:respawn-pane
Declared in
libtmux
Package
libtmux
Source
src/process-operations.lisp
(respawn-pane client pane &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-pane.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss respawn-pane.

Esc

Type to search.

Reference previewOpen reference