diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-10 16:52:46 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-10 16:52:46 +0100 |
commit | d01e7aac89fefff31e668ac2d668c84c345b9e67 (patch) | |
tree | 5d773b1d95cb96f9c3b70e1d34c355f283a0a136 /tmux.1 | |
parent | 5fa377d9273ee609784acc538a5defa09feb3095 (diff) | |
download | rtmux-d01e7aac89fefff31e668ac2d668c84c345b9e67.tar.gz rtmux-d01e7aac89fefff31e668ac2d668c84c345b9e67.tar.bz2 rtmux-d01e7aac89fefff31e668ac2d668c84c345b9e67.zip |
Add a -D flag to ask tmux not to daemonize, useful both for running a debugger
(lldb does not have follow-fork-mode) and for running with a managed supervisor
init system. GitHub issue 2190.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -23,7 +23,7 @@ .Sh SYNOPSIS .Nm tmux .Bk -words -.Op Fl 2CluvV +.Op Fl 2CDluvV .Op Fl c Ar shell-command .Op Fl f Ar file .Op Fl L Ar socket-name @@ -122,6 +122,17 @@ This option is for compatibility with when .Nm is used as a login shell. +.It Fl D +Do not start the +.Nm +server as a daemon. +This also turns the +.Ic exit-empty +option off. +With +.Fl D , +.Ar command +may not be specified. .It Fl f Ar file Specify an alternative configuration file. By default, |