This commit is contained in:
rsc 2006-02-12 16:48:50 +00:00
parent 3fd66761f7
commit 4940b55216
4 changed files with 97 additions and 2 deletions

View file

@ -75,7 +75,8 @@ _threadspawn(int fd[3], char *cmd, char *argv[])
close(p[1]);
return -1;
case 0:
rfork(RFNOTEG);
/* can't RFNOTEG - will lose tty */
/* rfork(RFNOTEG); */
dup2(fd[0], 0);
dup2(fd[1], 1);
dup2(fd[2], 2);