Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function LibTmux.jl latest

respawn_pane

Module LibTmux.respawn_pane LibTmux

Restart the target's original command, or use explicit command argv or shell_command. Running processes are protected unless kill_running=true. Respawning a window reduces it to one pane; other pane references become stale. For shared windows, tmux chooses the session context used for the process environment. Return the command result without retry or rollback.

Source and package
Module
LibTmux
Package
LibTmux
Source
src/topology.jl

Description#

respawn_pane(server, target; kill_running=false, command=nothing,
shell_command=nothing, start_directory=nothing, kwargs...)

Methods#

respawn_pane( connection::LibTmux.ControlConnection, target::LibTmux.PaneRef; kill_running, command, shell_command, start_directory, kwargs... )[source]#

Restart the original or supplied argv/shell command on the pinned daemon. Running processes require kill_running=true. Window respawn removes all but one pane. Options match the subprocess method; the fenced ControlResult proves tmux command completion, not completion of the new pane application.

respawn_pane(connection::ControlConnection, target; kwargs...)

respawn_pane( server::LibTmux.Server, target::LibTmux.PaneRef; kill_running, command, shell_command, start_directory, kwargs... )[source]#

Esc

Type to search.

Reference preview Open reference