Classes | |
struct | AlreadySetup |
Public Member Functions | |
StdStream (String &externalString) | |
Read the process standard output/error into the given String. More... | |
StdStream (Vector< char > &externalVector) | |
Read the process standard output/error into the given Vector. More... | |
StdStream (FileDescriptor &&file) | |
Redirects child process standard output/error to a given file descriptor. More... | |
StdStream (PipeDescriptor &pipe) | |
Protected Types | |
enum class | Operation { AlreadySetup , Inherit , Ignore , ExternalPipe , FileDescriptor , Vector , String , WritableSpan , ReadableSpan } |
Protected Member Functions | |
StdStream (AlreadySetup) | |
Protected Attributes | |
Operation | operation = Operation::Inherit |
Span< const char > | readableSpan |
Span< char > | writableSpan |
String * | string |
Vector< char > * | vector |
FileDescriptor::Handle | fileDescriptor |
PipeDescriptor * | pipeDescriptor |
Friends | |
struct | Process |
struct | ProcessChain |
|
inline |
Read the process standard output/error into the given String.
|
inline |
Read the process standard output/error into the given Vector.
|
inline |
Redirects child process standard output/error to a given file descriptor.