From 4aa4e9fb267a2169c6446da5cc2edaafd56b0195 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 27 Nov 2012 15:09:35 +0000 Subject: Allow cmd-run-shell to accept -t to specify the pane to display the output, requested by Alexander Tsepkov. --- tmux.1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tmux.1') 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 ) -- cgit