[BACK]Return to spawn.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/spawn.c between version 1.9 and 1.10

version 1.9, 2019/09/23 15:41:11 version 1.10, 2019/10/07 07:14:07
Line 253 
Line 253 
          * Now we have a pane with nothing running in it ready for the new           * Now we have a pane with nothing running in it ready for the new
          * process. Work out the command and arguments.           * process. Work out the command and arguments.
          */           */
         if (sc->argc == 0) {          if (sc->argc == 0 && (~sc->flags & SPAWN_RESPAWN)) {
                 cmd = options_get_string(s->options, "default-command");                  cmd = options_get_string(s->options, "default-command");
                 if (cmd != NULL && *cmd != '\0') {                  if (cmd != NULL && *cmd != '\0') {
                         argc = 1;                          argc = 1;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10