Hi,

http://www.mail-archive.com/tmux-users@lists.sourceforge.net/msg01037.html

Has this ever been solved? Here[tm] this is a show stopper.

Imagine a shell script which takes command line options (e.g. using getopts) 
and pass that script to tmux:

[helmut@BSDHelmut ~]$ tmux new /usr/local/bin/patch_all.sh -H "host1 host2 
host3"
usage: new-session [-d] [-n window-name] [-s session-name] [-t 
target-session] [command]
[helmut@BSDHelmut ~]$

While from a shell you can put single quotation marks around the comman when 
you e.g. put your script into an alias or call it from another script there 
is/seems no way to do that successfully.

Thanks, Helmut 


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to