From 95950bf668cee5a80cd9bbe28d7134a52a240426 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 13 Jan 2017 10:12:12 +0000 Subject: 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. --- tmux.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 4bc82cd8..b641909f 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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. -- cgit