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

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

#include <subprocess.hpp>

Public Attributes

int_fd read = -1
 
Option< int_fdwrite = None()
 

Detailed Description

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.

NOTE: We initialize read 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

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

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