|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
POSIX capture bookkeeping for children started via NewProcessEx(captureOutput). More...
#include <Utils.h>
Public Member Functions | |
| ProcessData () | |
Public Attributes | |
| int | outFD |
| Parent read-end of the child's stdout (-1 = not captured). | |
| int | errFD |
| Parent read-end of the child's stderr (-1 = not captured). | |
POSIX capture bookkeeping for children started via NewProcessEx(captureOutput).
Holds the parent read-ends of the child's stdout/stderr pipes so that ReadProcessOutput() can drain them. Lifecycle (waitpid/kill) stays with the caller and with GetProcessStatus()/EndProcess()/WaitForProcess(), which operate on the bare pid and do not depend on this map.
|
inline |
| int cmlabs::utils::ProcessData::errFD |
Parent read-end of the child's stderr (-1 = not captured).
Definition at line 617 of file Utils.h.
Referenced by cmlabs::utils::NewProcessEx(), ProcessData(), cmlabs::utils::ReadProcessOutput(), and cmlabs::utils::ReleaseProcessCapture().
| int cmlabs::utils::ProcessData::outFD |
Parent read-end of the child's stdout (-1 = not captured).
Definition at line 616 of file Utils.h.
Referenced by cmlabs::utils::NewProcessEx(), ProcessData(), cmlabs::utils::ReadProcessOutput(), and cmlabs::utils::ReleaseProcessCapture().