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