window.Window.respawn
- Module
- window
- Declared in
- Window
- Package
- libtmux
- Source
- packages/libtmux/src/window.ts
- Other languages
- PythonRubyLuaRustGoJava.NET C++ Swift
-
Restart the command running in this window's active pane.
tmux refuses a window that is still running something unless
killsays to replace it.In other ports Restart the command in a window's active pane
- Python
libtmux.Window.respawn - Ruby
LibTmux::Window#respawn - Lua
libtmux.Window:respawn - Rust
window.Window.respawn - Go
tmux.Window.Respawn - Java
io.github.libtmux.Window.Window.respawn - .NET
LibTmux.Window.RespawnAsync - C++ no equivalent on
Window - Swift no equivalent on
Window
- Python
Examples
await window.respawn("sh", { kill: true });>>> window = session.new_window(window_name='respawn_test')>>> window.respawn(kill=True, shell='sh')0 declared, 0 inherited