Const
Reuse a tmux pane, running a new command in it (tmux respawn-pane).
tmux respawn-pane
An empty string on success.
await tmux.respawnPane("htop", { kill: true, targetPane: "work:1.1" }); Copy
await tmux.respawnPane("htop", { kill: true, targetPane: "work:1.1" });
Reuse a tmux pane, running a new command in it (
tmux respawn-pane).