nil
This commit is contained in:
parent
7635ebf65a
commit
c44f783b4b
@ -204,12 +204,12 @@ spawn(ScreenInfo *s)
|
|||||||
signal(SIGTERM, SIG_DFL);
|
signal(SIGTERM, SIG_DFL);
|
||||||
signal(SIGHUP, SIG_DFL);
|
signal(SIGHUP, SIG_DFL);
|
||||||
if(termprog != NULL){
|
if(termprog != NULL){
|
||||||
execl(shell, shell, "-c", termprog, nil);
|
execl(shell, shell, "-c", termprog, (char*)0);
|
||||||
fprintf(stderr, "rio: exec %s", shell);
|
fprintf(stderr, "rio: exec %s", shell);
|
||||||
perror(" failed");
|
perror(" failed");
|
||||||
}
|
}
|
||||||
execlp("9term", "9term", scrolling ? "-ws" : "-w", nil);
|
execlp("9term", "9term", scrolling ? "-ws" : "-w", (char*)0);
|
||||||
execlp("xterm", "xterm", "-ut", nil);
|
execlp("xterm", "xterm", "-ut", (char*)0);
|
||||||
perror("rio: exec 9term/xterm failed");
|
perror("rio: exec 9term/xterm failed");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user