Differences From Artifact [d69c7e1283]:
- File bgrd.c — part of check-in [196f94b613] at 2019-04-17 16:52:18 on branch trunk — add shit, updates (user: lexi, size: 6498) [annotate] [blame] [check-ins using]
To Artifact [930615166d]:
- File bgrd.c — part of check-in [7a21b1f19e] at 2019-04-23 02:01:14 on branch trunk — fix bug where bgrd also scooped stderr, thereby breaking my `surf` setup in neovim (user: lexi, size: 6485) [annotate] [blame] [check-ins using]
166 166 close(rd); 167 167 return 0; 168 168 } 169 169 170 170 child: { 171 171 close(rd); 172 172 173 - // redirect stdout and stderr to our pty master 173 + // redirect stdout (NOT stderr) to our pty master 174 174 dup2(wr, 1); 175 - dup2(wr, 2); 176 175 close(wr); 177 176 178 177 execv(argv[1],argv+2); 179 178 return 1; // THIS SHOULD NEVER HAPPEN 180 179 } 181 180 }