Searched refs:child_stdinout_sfd (Results 1 – 1 of 1) sorted by relevance
236 unique_fd child_stdinout_sfd, child_stderr_sfd; in ForkAndExec() local317 if (!CreateSocketpair(&stdinout_sfd_, &child_stdinout_sfd)) { in ForkAndExec()342 child_stdinout_sfd.reset(OpenPtyChildFd(pts_name, &child_error_sfd)); in ForkAndExec()345 dup2(child_stdinout_sfd.get(), STDIN_FILENO); in ForkAndExec()346 dup2(child_stdinout_sfd.get(), STDOUT_FILENO); in ForkAndExec()347 dup2(child_stderr_sfd != -1 ? child_stderr_sfd.get() : child_stdinout_sfd.get(), in ForkAndExec()353 child_stdinout_sfd.reset(-1); in ForkAndExec()424 unique_fd child_stdinout_sfd, child_stderr_sfd; in ExecInProcess() local430 if (!CreateSocketpair(&stdinout_sfd_, &child_stdinout_sfd)) { in ExecInProcess()444 child_stderr_sfd.reset(dup(child_stdinout_sfd.get())); in ExecInProcess()[all …]