mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
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.
This commit is contained in:
6
tmux.1
6
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.
|
||||
|
Reference in New Issue
Block a user