Searched refs:kWriteFD (Results 1 – 1 of 1) sorted by relevance
248 static const int kWriteFD = 1; variable260 dup2(stdout_fds[kWriteFD], 1); // Dup pipe fd to stdout. in ExecSubprocess()261 close(stdout_fds[kWriteFD]); // Don't need the original fd now. in ExecSubprocess()262 fcntl(exec_error_fds[kWriteFD], F_SETFD, FD_CLOEXEC); in ExecSubprocess()269 bytes_written = write(exec_error_fds[kWriteFD], &err, sizeof(err)); in ExecSubprocess()496 close(exec_error_fds[kWriteFD]); in System()497 close(stdout_fds[kWriteFD]); in System()