diff options
author | nicm <nicm> | 2017-01-13 10:12:12 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-13 10:12:12 +0000 |
commit | 95950bf668cee5a80cd9bbe28d7134a52a240426 (patch) | |
tree | 37618ea72fabbd151d60519139e9d816124ca170 /tmux.1 | |
parent | 24cba5907b5006363ac7f83f31801153f9c23b37 (diff) | |
download | rtmux-95950bf668cee5a80cd9bbe28d7134a52a240426.tar.gz rtmux-95950bf668cee5a80cd9bbe28d7134a52a240426.tar.bz2 rtmux-95950bf668cee5a80cd9bbe28d7134a52a240426.zip |
Add -E to detach-client to exec a command to replace the client instead
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -724,6 +724,7 @@ is used, the option will not be applied. .It Xo Ic detach-client .Op Fl aP +.Op Fl E Ar shell-command .Op Fl s Ar target-session .Op Fl t Ar target-client .Xc @@ -740,6 +741,11 @@ If .Fl P is given, send SIGHUP to the parent process of the client, typically causing it to exit. +With +.Fl E , +run +.Ar shell-command +to replace the client. .It Ic has-session Op Fl t Ar target-session .D1 (alias: Ic has ) Report an error and exit with 1 if the specified session does not exist. |