[BACK]Return to cmd-respawn-window.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-respawn-window.c between version 1.34 and 1.35

version 1.34, 2017/04/22 10:22:39 version 1.35, 2017/04/25 15:35:10
Line 81 
Line 81 
         if (envent != NULL)          if (envent != NULL)
                 path = envent->value;                  path = envent->value;
   
         env = environ_for_session(s);          env = environ_for_session(s, 0);
         if (window_pane_spawn(wp, args->argc, args->argv, path, NULL, NULL, env,          if (window_pane_spawn(wp, args->argc, args->argv, path, NULL, NULL, env,
             s->tio, &cause) != 0) {              s->tio, &cause) != 0) {
                 cmdq_error(item, "respawn window failed: %s", cause);                  cmdq_error(item, "respawn window failed: %s", cause);

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35