Searched refs:pstdout (Results 1 – 1 of 1) sorted by relevance
58 int pstdout[2]; in exec_command() local61 if (pipe(pstdout) == -1 || pipe(pstderr) == -1) { in exec_command()83 close(pstdout[0]); in exec_command()84 dup2(pstdout[1], STDOUT_FILENO); in exec_command()85 close(pstdout[1]); in exec_command()107 close(pstdout[1]); in exec_command()113 fd1 = pstdout[0]; in exec_command()