summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-11-27 15:09:35 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-11-27 15:09:35 +0000
commit4aa4e9fb267a2169c6446da5cc2edaafd56b0195 (patch)
treee3225fb08e4e44f99921a4e486710be9c488da2e /tmux.1
parent1fcc7f50aca0e0f3d922f988963362299d75d21d (diff)
Allow cmd-run-shell to accept -t to specify the pane to display the
output, requested by Alexander Tsepkov.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 8 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 185a4303..349c23f2 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3394,12 +3394,18 @@ otherwise.
Lock each client individually by running the command specified by the
.Ic lock-command
option.
-.It Ic run-shell Ar shell-command
+.It Xo Ic run-shell
+.Op Fl t Ar target-pane
+.Ar shell-command
+.Xc
.D1 (alias: Ic run )
Execute
.Ar shell-command
in the background without creating a window.
-After it finishes, any output to stdout is displayed in copy mode.
+After it finishes, any output to stdout is displayed in copy mode (in the pane
+specified by
+.Fl t
+or the current pane if omitted).
If the command doesn't return success, the exit status is also displayed.
.It Ic server-info
.D1 (alias: Ic info )