version 1.9, 2019/09/23 15:41:11 |
version 1.10, 2019/10/07 07:14:07 |
|
|
* 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; |