If multiple arguments are given to new-session, new-window,
authornicm <nicm@openbsd.org>
Tue, 13 May 2014 08:08:32 +0000 (08:08 +0000)
committernicm <nicm@openbsd.org>
Tue, 13 May 2014 08:08:32 +0000 (08:08 +0000)
commit58034113e8e7c6d8a0538d5881c6abe68d8777c1
tree319c7f00350e0428098767db4d7921eff3b124e8
parent2ed81ae22baa941bf9bcdae3df624f1a3350e2d7
If multiple arguments are given to new-session, new-window,
split-window, respawn-window or respawn-pane, pass them directly to
execvp() to help avoid quoting problems. One argument still goes to "sh
-c" like before. Requested by many over the years. Patch from J Raynor.
12 files changed:
usr.bin/tmux/cmd-new-session.c
usr.bin/tmux/cmd-new-window.c
usr.bin/tmux/cmd-respawn-pane.c
usr.bin/tmux/cmd-respawn-window.c
usr.bin/tmux/cmd-split-window.c
usr.bin/tmux/cmd.c
usr.bin/tmux/format.c
usr.bin/tmux/names.c
usr.bin/tmux/session.c
usr.bin/tmux/tmux.1
usr.bin/tmux/tmux.h
usr.bin/tmux/window.c