Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.