Home
last modified time | relevance | path

Searched refs:stdErrInfo (Results 1 - 1 of 1) sorted by relevance

/commonlibrary/ets_utils/js_sys_module/process/
H A Djs_childprocess.cpp316 auto stdErrInfo = reinterpret_cast<StdInfo*>(data); in ReadStdErr() local
318 if (stdErrInfo->isNeedRun == nullptr) { in ReadStdErr()
321 while (*(stdErrInfo->isNeedRun)) { in ReadStdErr()
322 auto readSize = read(stdErrInfo->fd, childStderr, sizeof(childStderr) - 1); in ReadStdErr()
324 stdErrInfo->stdData += childStderr; in ReadStdErr()
326 if (stdErrInfo->stdData.size() > static_cast<size_t>(stdErrInfo->maxBuffSize) && *(stdErrInfo->isNeedRun)) { in ReadStdErr()
327 if (!kill(stdErrInfo->pid, SIGKILL)) { in ReadStdErr()
328 *(stdErrInfo in ReadStdErr()
343 auto stdErrInfo = reinterpret_cast<StdInfo*>(buffer); EndStdErr() local
[all...]

Completed in 1 milliseconds