Core LibraryunreleasedAPI reference

Choose documentation 3

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.

MoreLess about this notice

function LibTmux.jl

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
Qualified name
LibTmux.respawn_window
Module
LibTmux
Package
LibTmux
Source
src/topology.jl

Description

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

Methods

respawn_window( connection::LibTmux.ControlConnection, target::LibTmux.WindowRef; 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_window(connection::ControlConnection, target; kwargs...)

respawn_window( server::LibTmux.Server, target::LibTmux.WindowRef; kill_running, command, shell_command, start_directory, kwargs..., )[source]

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.respawn_window.

tmux command

task material

The tmux commands behind respawn_window.

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference