Server.respawn(_:running:killingExisting:startDirectory:)
Restarts the command in a pane.
Source and package
- Qualified name
-
Server.respawn(_: running: killing Existing: start Directory:) - 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.
- Parameters:
tmux command#
The tmux commands behind respawn(_:running:killingExisting:startDirectory:).
tmux C API#
The C declarations in tmux that implement these commands.