Hi

Thanks. A few things:

- strlen returns a size_t so please make len size_t in cmd_stringify_argv

- I'd be happier if cmd_stringify_argv returned xstrdup("") if argc == 0
  rather than NULL.

- If we are going to call execvp we should control PATH, I think we
  should probably get it from the client if it's a command line client
  else from the session environ. In any case you'll need to pass it in
  from the caller as yet another argument.

I'm not entirely thrilled by having one argument go through the shell
and multiple not but I guess we don't have a lot of choice there.


On Sat, Feb 08, 2014 at 07:34:54PM -0600, J Raynor wrote:
> I've attached a patch that allows people to specify a command to neww
> and related commands without having to quote the command.  Using "--"
> is only needed if the command you want to run happens to start with a
> dash.



------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to