Readding the spawn compatibility to use it in config.h. Thanks to Chris Hall. - ttabbed - Simple tabbing application for X11.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ce9b82147dbd347816f25d16d64748cbcb8f549b
 (DIR) parent 4c1101a4f6b8a584d335f28594fcc449886642f4
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Mon, 20 Aug 2012 09:02:56 +0200
       
       Readding the spawn compatibility to use it in config.h. Thanks to Chris Hall.
       Diffstat:
         tabbed.c                            |       9 +++++++--
       
       1 file changed, 7 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/tabbed.c b/tabbed.c
       @@ -784,8 +784,13 @@ spawn(const Arg *arg) {
                        if(dpy)
                                close(ConnectionNumber(dpy));
                        setsid();
       -                execvp(cmd[0], cmd);
       -                fprintf(stderr, "tabbed: execvp %s", cmd[0]);
       +                if(arg && arg->v) {
       +                        execvp(((char **)arg->v)[0], (char **)argv->v);
       +                        fprintf(stderr, "tabbed: execvp %s", ((char **)arg->v)[0]);
       +                } else {
       +                        execvp(cmd[0], cmd);
       +                        fprintf(stderr, "tabbed: execvp %s", cmd[0]);
       +                }
                        perror(" failed");
                        exit(0);
                }