Searched refs:stdOutput (Results 1 – 2 of 2) sorted by relevance
/trunk/main/sal/osl/unx/ |
H A D | process.c | 431 int stdOutput[2] = { -1, -1 }, stdInput[2] = { -1, -1 }, stdError[2] = { -1, -1 }; in ChildStatusProc() local 452 if (pipe( stdOutput ) == -1) in ChildStatusProc() 506 if (stdOutput[0] != -1) close( stdOutput[0] ); in ChildStatusProc() 519 if ( stdOutput[1] != STDOUT_FILENO ) in ChildStatusProc() 521 dup2( stdOutput[1], STDOUT_FILENO ); in ChildStatusProc() 522 if (stdOutput[1] != -1) close( stdOutput[1] ); in ChildStatusProc() 555 if (stdOutput[1] != -1) close( stdOutput[1] ); in ChildStatusProc() 584 *(pdata->m_pOutputRead) = osl_createFileHandleFromFD( stdOutput[0] ); in ChildStatusProc() 653 if (stdOutput[0] != -1) close( stdOutput[0] ); in ChildStatusProc()
|
/trunk/main/sal/osl/os2/ |
H A D | process.c | 221 int stdOutput[2] = { -1, -1 }, stdInput[2] = { -1, -1 }, stdError[2] = { -1, -1 }; in osl_executeProcess_WithRedirectedIO() local 227 pipe( stdOutput); in osl_executeProcess_WithRedirectedIO() 233 fcntl( stdOutput[0], F_SETFD, FD_CLOEXEC); in osl_executeProcess_WithRedirectedIO() 234 fcntl( stdOutput[1], F_SETFD, FD_CLOEXEC); in osl_executeProcess_WithRedirectedIO() 245 dup2( stdOutput[1], STDOUT_FILENO ); in osl_executeProcess_WithRedirectedIO() 246 close( stdOutput[1] ); in osl_executeProcess_WithRedirectedIO() 269 *(pOutputRead) = osl_createFileHandleFromFD( stdOutput[0] ); in osl_executeProcess_WithRedirectedIO()
|
Completed in 14 milliseconds