![]() |
dfx 0.1.0
Linux-based dynamic dataflow executor
|
Process spawn and I/O configuration. More...
#include <dfx-subprocess/Process.hpp>
Public Attributes | |
| fs::path | bin |
| Program path (may be absolute or resolved via PATH; see resolveProgramPath()). | |
| std::vector< std::string > | args |
| Arguments passed to the program (excluding argv[0]). | |
| std::vector< std::string > | env |
| Environment entries, in "KEY=VALUE" form. | |
| std::optional< fs::path > | cwd |
| Optional working directory for the child process. | |
| EnvMode | envMode = EnvMode::Merge |
| Environment application mode. | |
| StreamMode | stdinMode = StreamMode::Forward |
| Child stdin wiring mode. | |
| StreamMode | stdoutMode = StreamMode::Forward |
| Child stdout wiring mode. | |
| StreamMode | stderrMode = StreamMode::Forward |
| Child stderr wiring mode. | |
| CaptureConfig | stdoutCaptureConfig |
| Capture behavior for stdout when stdoutMode is StreamMode::Pipe. | |
| CaptureConfig | stderrCaptureConfig |
| Capture behavior for stderr when stderrMode is StreamMode::Pipe. | |
| bool | useParentDeathSignal = true |
Whether to set a "parent death" signal for the child. PR_SET_PDEATHSIG(2const) | |
Process spawn and I/O configuration.
| std::vector<std::string> dfx::Subprocess::Process::Config::args |
Arguments passed to the program (excluding argv[0]).
| fs::path dfx::Subprocess::Process::Config::bin |
Program path (may be absolute or resolved via PATH; see resolveProgramPath()).
| std::optional<fs::path> dfx::Subprocess::Process::Config::cwd |
Optional working directory for the child process.
| std::vector<std::string> dfx::Subprocess::Process::Config::env |
Environment entries, in "KEY=VALUE" form.
| EnvMode dfx::Subprocess::Process::Config::envMode = EnvMode::Merge |
Environment application mode.
| CaptureConfig dfx::Subprocess::Process::Config::stderrCaptureConfig |
Capture behavior for stderr when stderrMode is StreamMode::Pipe.
| StreamMode dfx::Subprocess::Process::Config::stderrMode = StreamMode::Forward |
Child stderr wiring mode.
| StreamMode dfx::Subprocess::Process::Config::stdinMode = StreamMode::Forward |
Child stdin wiring mode.
| CaptureConfig dfx::Subprocess::Process::Config::stdoutCaptureConfig |
Capture behavior for stdout when stdoutMode is StreamMode::Pipe.
| StreamMode dfx::Subprocess::Process::Config::stdoutMode = StreamMode::Forward |
Child stdout wiring mode.
| bool dfx::Subprocess::Process::Config::useParentDeathSignal = true |
Whether to set a "parent death" signal for the child. PR_SET_PDEATHSIG(2const)