diff options
author | nicm <nicm> | 2020-03-12 13:25:45 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-03-12 13:25:45 +0000 |
commit | 516f6099fc2e928587e573176cd753ce3de5806b (patch) | |
tree | 9d368a9e10dcf94a636090d2230982113bc325ef /tmux.1 | |
parent | 7863445e5d6823ab21c49904b8e5ec5028264d39 (diff) | |
download | rtmux-516f6099fc2e928587e573176cd753ce3de5806b.tar.gz rtmux-516f6099fc2e928587e573176cd753ce3de5806b.tar.bz2 rtmux-516f6099fc2e928587e573176cd753ce3de5806b.zip |
Add a -d flag to run-shell to wait for delay before running the command,
also allow run-shell to accept no command to just delay.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -5202,8 +5202,9 @@ Lock each client individually by running the command specified by the option. .It Xo Ic run-shell .Op Fl b +.Op Fl d Ar delay .Op Fl t Ar target-pane -.Ar shell-command +.Ar [shell-command] .Xc .D1 (alias: Ic run ) Execute @@ -5216,8 +5217,12 @@ section. With .Fl b , the command is run in the background. -After it finishes, any output to stdout is displayed in copy mode (in the pane -specified by +.Fl d +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 .Fl t or the current pane if omitted). If the command doesn't return success, the exit status is also displayed. |