Searched refs:child_stdinout_sfd (Results 1 – 1 of 1) sorted by relevance
228 ScopedFd child_stdinout_sfd, child_stderr_sfd; in ForkAndExec() local296 if (!CreateSocketpair(&stdinout_sfd_, &child_stdinout_sfd)) { in ForkAndExec()321 child_stdinout_sfd.Reset(OpenPtyChildFd(pts_name, &child_error_sfd)); in ForkAndExec()324 dup2(child_stdinout_sfd.fd(), STDIN_FILENO); in ForkAndExec()325 dup2(child_stdinout_sfd.fd(), STDOUT_FILENO); in ForkAndExec()326 dup2(child_stderr_sfd.valid() ? child_stderr_sfd.fd() : child_stdinout_sfd.fd(), in ForkAndExec()332 child_stdinout_sfd.Reset(); in ForkAndExec()