Searched refs:kWriteFD (Results 1 – 1 of 1) sorted by relevance
254 static const int kWriteFD = 1; variable266 dup2(stdout_fds[kWriteFD], 1); // Dup pipe fd to stdout. in ExecSubprocess()267 close(stdout_fds[kWriteFD]); // Don't need the original fd now. in ExecSubprocess()268 fcntl(exec_error_fds[kWriteFD], F_SETFD, FD_CLOEXEC); in ExecSubprocess()275 bytes_written = write(exec_error_fds[kWriteFD], &err, sizeof(err)); in ExecSubprocess()520 close(exec_error_fds[kWriteFD]); in System()521 close(stdout_fds[kWriteFD]); in System()