Const
Reuse a tmux window, running a new command in it (tmux respawn-window).
tmux respawn-window
An empty string on success.
await tmux.respawnWindow("htop", { kill: true, targetWindow: "work:1" }); Copy
await tmux.respawnWindow("htop", { kill: true, targetWindow: "work:1" });
Reuse a tmux window, running a new command in it (
tmux respawn-window).