aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-01-01 10:01:21 +0000
committerThomas Adam <thomas@xteddy.org>2021-01-01 10:01:21 +0000
commitf04cc3997629823f0e304d4e4184e2ec93c703f0 (patch)
treef21f64e5e5e1aad1cbfea7c2ae10e24338ba981b /tmux.1
parentf72deb092a559224b9226a49550d15507685e508 (diff)
parent606bd5f8c6be326ea2e4746de5d5e007fd04eef8 (diff)
downloadrtmux-f04cc3997629823f0e304d4e4184e2ec93c703f0.tar.gz
rtmux-f04cc3997629823f0e304d4e4184e2ec93c703f0.tar.bz2
rtmux-f04cc3997629823f0e304d4e4184e2ec93c703f0.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.123
1 files changed, 15 insertions, 8 deletions
diff --git a/tmux.1 b/tmux.1
index ff3e8a3d..d107468b 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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