respawn_window
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_window( connection::Lib
Tmux , target::Lib.Control Connection Tmux ; kill.Window Ref _running , command, shell_command , start_directory , kwargs... ) respawn_window( server::LibTmux , target::Lib.Server Tmux ; kill.Window Ref _running , command, shell_command , start_directory , kwargs... ) -
Description#
respawn_window(server, target; kill_running=false, command=nothing,shell_command=nothing, start_directory=nothing, kwargs...)Methods#
respawn_window( connection::Lib
Tmux , target::Lib.Control Connection Tmux ; kill.Window 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_window(connection::ControlConnection, target; kwargs...)respawn_window( server::Lib
Tmux , target::Lib.Server Tmux ; kill.Window Ref _running , command, shell_command , start_directory , kwargs... )[source]#- Parameters
-
-
connection( LibTmux ) (for.Control Connection respawn_window(connection, target, kill_running, command, shell_command, start_directory, kwargs)) # -
target( LibTmux ) #.Window Ref -
kill_running=false( Bool ) # -
shell_command=nothing# -
start_directory=nothing# -
server( LibTmux ) (for.Server respawn_window(server, target, kill_running, command, shell_command, start_directory, kwargs)) #
-