mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
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.
This commit is contained in:
11
tmux.1
11
tmux.1
@ -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.
|
||||
|
Reference in New Issue
Block a user