On this page
tmux.Window.Respawn
- Module
- tmux
- Declared in
- Window
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/window_respawn.go
- Respawn ( ctx : context.Context , request : RespawnRequest ) (Window, error)
-
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 redactedCommandError; nonzero exits without stderr are followed by refresh.
0 declared, 0 inherited