Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

screen has a feature called Zombie Mode, which makes it so that when the process of a screen (window or pane, in tmux terminology) dies, the window doesn't close - it just stays there until restarted, as opposed to closing. Is there a way to do this in tmux?

My use-case is that I start a number of local development servers in different panes in my tmux.conf, but if I have to C-c one of them to restart it, I don't want that pane to vanish.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

set set-remain-on-exit on keeps the window/pane from closing, and bind-key r respawn-window causws C-b r to restart the process.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.