macro_rules! respawn_window {
    (@cmd ($cmd:expr) -k, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -c $start_directory:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -t $target_window:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) $shell_command:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr)) => { ... };
    () => { ... };
    (($cmd:expr), $($tail:tt)*) => { ... };
    ($($tail:tt)*) => { ... };
}
Expand description

Reactivate a window in which the command has exited

§Manual

tmux ^3.0:

respawn-window [-k] [-c start-directory] [-e environment] [-t target-window]
[shell-command]
(alias: respawnw)

tmux ^2.6:
```text
respawn-window [-k] [-c start-directory] [-t target-window]
[shell-command]
(alias: respawnw)

tmux ^1.2:
```text
respawn-window [-k] [-t target-window] [shell-command]
(alias: respawnw)

tmux ^0.8:

respawn-window [-k] [-t target-window] [command]
(alias: respawnw)