Return to job.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.65, 2021/10/11 10:55:30 | version 1.66, 2021/10/24 21:24:17 | ||
---|---|---|---|
|
|
||
close(out[1]); | close(out[1]); | ||
close(out[0]); | close(out[0]); | ||
nullfd = open(_PATH_DEVNULL, O_RDWR, 0); | nullfd = open(_PATH_DEVNULL, O_RDWR); | ||
if (nullfd == -1) | if (nullfd == -1) | ||
fatal("open failed"); | fatal("open failed"); | ||
if (dup2(nullfd, STDERR_FILENO) == -1) | if (dup2(nullfd, STDERR_FILENO) == -1) |