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

Go API

Go documentation

tmux.Window.Respawn

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_respawn.go
Other languages
PythonRubyLuaTypeScriptRustJava.NET C++ Swift
Respawn ( ctx : context.Context , request : RespawnRequest ) → (Window, error)
method [source]
method [source]
Respawn

Respawn restarts the stable window process through the receiver's exact winlink. It does not select the window or promise any client focus. Respawn returns a canonical freshly materialized Window , which may use another linked session for the same WindowID. If the command succeeds but refresh fails, it returns the receiver with that error; earlier failures return zero. Completed stderr produces a redacted CommandError ; nonzero exits without stderr are followed by refresh.

In other ports Restart the command in a window's active pane

0 declared, 0 inherited

Esc

Type to search.