Sivaram Neelakantan
unread,Sep 12, 2020, 1:20:41 PM9/12/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tmux-...@googlegroups.com
It wasn't obvious to me that [shell-command] needs to be quoted if you
want to pass parameters to the shell command.
I kept getting errors for 'ls -al' for some time.
I spent a fair bit of time reading the docs before trying the
"obvious" method. Can this section be modified with the sentence I
added, if there are no side effects?
run-shell [-b] [-d delay] [-t target-pane] [shell-command] (alias:
run) Execute shell-command in the background
without creating a window. Before being executed,
shell-command is expanded using the rules speci-
fied in the FORMATS section. With -b, the command
is run in the background. -d waits for delay
seconds before starting the command. After the
command finishes, any output to stdout is displayed
in view mode (in the pane specified by -t or the
current pane if omitted). If the command doesn't
return success, the exit status is also displayed.
--> Quote the command and parameters in single or
double quotes if it takes parameters.
sivaram
--