Apache Mesos
Public Attributes | List of all members
process::Subprocess::IO::OutputFileDescriptors Struct Reference

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...

#include <subprocess.hpp>

Public Attributes

Option< int_fdread = None()
 
int_fd write = -1
 

Detailed Description

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.

NOTE: We initialize write to -1 so that we do not close an arbitrary file descriptor, in case we encounter an error while starting a subprocess (closing -1 is always a no-op).

Member Data Documentation

Option<int_fd> process::Subprocess::IO::OutputFileDescriptors::read = None()
int_fd process::Subprocess::IO::OutputFileDescriptors::write = -1

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