respawn_pane
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
- respawn_pane( connection::Lib
Tmux , target::Lib.Control Connection Tmux ; kill.Pane Ref _running , command, shell_command , start_directory , kwargs... ) respawn_pane( server::LibTmux , target::Lib.Server Tmux ; kill.Pane Ref _running , command, shell_command , start_directory , kwargs... ) -
Description#
respawn_pane(server, target; kill_running=false, command=nothing,shell_command=nothing, start_directory=nothing, kwargs...)Methods#
respawn_pane( connection::Lib
Tmux , target::Lib.Control Connection Tmux ; kill.Pane Ref _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 fencedControlResultproves tmux command completion, not completion of the new pane application.respawn_pane(connection::ControlConnection, target; kwargs...)respawn_pane( server::Lib
Tmux , target::Lib.Server Tmux ; kill.Pane Ref _running , command, shell_command , start_directory , kwargs... )[source]#- Parameters
-
-
connection( LibTmux ) (for.Control Connection respawn_pane(connection, target, kill_running, command, shell_command, start_directory, kwargs)) # -
target( LibTmux ) #.Pane Ref -
kill_running=false( Bool ) # -
shell_command=nothing# -
start_directory=nothing# -
server( LibTmux ) (for.Server respawn_pane(server, target, kill_running, command, shell_command, start_directory, kwargs)) #
-