Allow cmd-run-shell to accept -t to specify the pane to display the

output, requested by Alexander Tsepkov.
This commit is contained in:
Nicholas Marriott
2012-11-27 15:09:35 +00:00
parent 1fcc7f50ac
commit 4aa4e9fb26
2 changed files with 44 additions and 11 deletions

10
tmux.1
View File

@ -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 )