dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Subprocess::Process::CaptureConfig Struct Reference

Configuration for captured output buffering. More...

#include <dfx-subprocess/Process.hpp>

Public Attributes

std::size_t maxSize = 1 * 1024 * 1024
 Maximum amount of captured data kept in memory for the corresponding stream.

Detailed Description

Configuration for captured output buffering.

Member Data Documentation

◆ maxSize

std::size_t dfx::Subprocess::Process::CaptureConfig::maxSize = 1 * 1024 * 1024

Maximum amount of captured data kept in memory for the corresponding stream.

If the child produces more output than this, oldest data is dropped to make space for the new one in a ring-buffer fashion.

Default: 1 MiB.


The documentation for this struct was generated from the following file: