blocxx
BLOCXX_NAMESPACE::PosixExec::StandardPreExec Class Reference

#include <PosixExec.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::PosixExec::StandardPreExec:
BLOCXX_NAMESPACE::Exec::PreExec

Public Member Functions

 StandardPreExec ()
 
virtual bool keepStd (int d) const
 
virtual void call (pipe_pointer_t const pparr[])
 Resets all signals to their default actions and sets to close-on-exec all descriptors except the standard descriptors.
 
- Public Member Functions inherited from BLOCXX_NAMESPACE::Exec::PreExec
 PreExec (bool precompute_max_descriptors=false)
 
virtual ~PreExec ()
 
void closeDescriptorsOnExec (std::vector< bool > const &keep)
 For calling from PreExec::call.
 

Additional Inherited Members

- Public Types inherited from BLOCXX_NAMESPACE::Exec::PreExec
typedef ::BLOCXX_NAMESPACE::UnnamedPipepipe_pointer_t
 
- Static Public Member Functions inherited from BLOCXX_NAMESPACE::Exec::PreExec
static void resetSignals ()
 For calling from PreExec::call.
 
static void closePipesOnExec (pipe_pointer_t const pparr[])
 For calling from PreExec::call.
 
static void setupStandardDescriptors (pipe_pointer_t const pparr[])
 For calling from PreExec::call.
 
static void setNewProcessGroup ()
 For calling from PreExec::call().
 
- Protected Attributes inherited from BLOCXX_NAMESPACE::Exec::PreExec
long m_max_descriptors
 

Detailed Description

Definition at line 51 of file PosixExec.hpp.

Constructor & Destructor Documentation

◆ StandardPreExec()

BLOCXX_NAMESPACE::PosixExec::StandardPreExec::StandardPreExec ( )

Definition at line 356 of file PosixExec.cpp.

Member Function Documentation

◆ call()

void BLOCXX_NAMESPACE::PosixExec::StandardPreExec::call ( pipe_pointer_t const pparr[])
virtual

Resets all signals to their default actions and sets to close-on-exec all descriptors except the standard descriptors.

Implements BLOCXX_NAMESPACE::Exec::PreExec.

Definition at line 365 of file PosixExec.cpp.

◆ keepStd()

bool BLOCXX_NAMESPACE::PosixExec::StandardPreExec::keepStd ( int d) const
virtual
Returns
true

Implements BLOCXX_NAMESPACE::Exec::PreExec.

Definition at line 360 of file PosixExec.cpp.


The documentation for this class was generated from the following files: