diff options
author | nicm <nicm> | 2021-01-01 08:36:51 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-01-01 08:36:51 +0000 |
commit | 606bd5f8c6be326ea2e4746de5d5e007fd04eef8 (patch) | |
tree | 342b316f96688af31b85bff74b02738e4ee78fa4 /tmux.1 | |
parent | f97305af317daded5d234ea1d3fcea78974f1200 (diff) | |
download | rtmux-606bd5f8c6be326ea2e4746de5d5e007fd04eef8.tar.gz rtmux-606bd5f8c6be326ea2e4746de5d5e007fd04eef8.tar.bz2 rtmux-606bd5f8c6be326ea2e4746de5d5e007fd04eef8.zip |
Add a -C flag to run-shell to use a tmux command rather than a shell command.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -5827,7 +5827,7 @@ Lock each client individually by running the command specified by the .Ic lock-command option. .It Xo Ic run-shell -.Op Fl b +.Op Fl bC .Op Fl d Ar delay .Op Fl t Ar target-pane .Op Ar shell-command @@ -5835,9 +5835,14 @@ option. .D1 (alias: Ic run ) Execute .Ar shell-command -in the background without creating a window. -Before being executed, shell-command is expanded using the rules specified in -the +or (with +.Fl C ) +a +.Nm +command in the background without creating a window. +Before being executed, +.Ar shell-command +is expanded using the rules specified in the .Sx FORMATS section. With @@ -5847,11 +5852,13 @@ the command is run in the background. waits for .Ar delay seconds before starting the command. -After the command finishes, any output to stdout is displayed in view mode (in -the pane specified by +If +.Fl C +is not given, any output to stdout is displayed in view 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. +or the current pane if omitted) after the command finishes. +If the command fails, the exit status is also displayed. .It Xo Ic wait-for .Op Fl L | S | U .Ar channel |