Apache Mesos
|
Describes how the I/O is redirected for stdin/stdout/stderr. More...
#include <subprocess.hpp>
Classes | |
struct | InputFileDescriptors |
For input file descriptors a child reads from the read file descriptor and a parent may write to the write file descriptor if one is present. More... | |
struct | OutputFileDescriptors |
For output file descriptors a child writes to the write file descriptor and a parent may read from the read file descriptor if one is present. More... | |
Public Types | |
enum | FDType { DUPLICATED, OWNED } |
Describes the lifecycle of a file descriptor passed into a subprocess via the Subprocess::FD helper. More... | |
Friends | |
class | Subprocess |
Try< Subprocess > | subprocess (const std::string &path, std::vector< std::string > argv, const Subprocess::IO &in, const Subprocess::IO &out, const Subprocess::IO &err, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< lambda::function< pid_t(const lambda::function< int()> &)>> &clone, const std::vector< Subprocess::ParentHook > &parent_hooks, const std::vector< Subprocess::ChildHook > &child_hooks, const std::vector< int_fd > &whitelist_fds) |
Describes how the I/O is redirected for stdin/stdout/stderr.
One of the following three modes are supported:
Subprocess::in/out/err
.Describes the lifecycle of a file descriptor passed into a subprocess via the Subprocess::FD
helper.
|
friend |
|
friend |