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
-- 

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/krpqx3v9gidi8w.fsf%40gmail.com.

Reply via email to