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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index fa157a1c..7d0be4f3 100644 --- a/tmux.h +++ b/tmux.h @@ -443,6 +443,7 @@ enum msgtype { MSG_SUSPEND, MSG_UNLOCK, MSG_WAKEUP, + MSG_EXEC, }; /* @@ -1880,6 +1881,7 @@ int server_client_open(struct client *, char **); void server_client_unref(struct client *); void server_client_lost(struct client *); void server_client_detach(struct client *, enum msgtype); +void server_client_exec(struct client *, const char *); void server_client_loop(void); void server_client_push_stdout(struct client *); void server_client_push_stderr(struct client *); -- cgit