Searched refs:pipefd (Results 1 – 1 of 1) sorted by relevance
644 int pipefd[2]; in RunChildProcess() local645 if (pipe(pipefd) == -1) { in RunChildProcess()649 if (fcntl(pipefd[0], F_SETFL, O_NONBLOCK) == -1) { in RunChildProcess()659 close(pipefd[0]); in RunChildProcess()662 dup2(pipefd[1], STDOUT_FILENO); in RunChildProcess()663 dup2(pipefd[1], STDERR_FILENO); in RunChildProcess()672 close(pipefd[1]); in RunChildProcess()674 child_proc.child_read_fd = pipefd[0]; in RunChildProcess()