Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
subprocess::detail::Child Class Reference

#include <subprocess.h>

Collaboration diagram for subprocess::detail::Child:
[legend]

Public Member Functions

 Child (Popen *p, int err_wr_pipe)
 
void execute_child ()
 

Private Attributes

Popenparent_ = nullptr
 
int err_wr_pipe_ = -1
 

Detailed Description

A helper class to Popen. This takes care of all the fork-exec logic in the execute_child API.

Definition at line 782 of file subprocess.h.

Constructor & Destructor Documentation

◆ Child()

subprocess::detail::Child::Child ( Popen p,
int  err_wr_pipe 
)
inline

Definition at line 785 of file subprocess.h.

Member Function Documentation

◆ execute_child()

void subprocess::detail::Child::execute_child ( )
inline

Definition at line 1389 of file subprocess.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ err_wr_pipe_

int subprocess::detail::Child::err_wr_pipe_ = -1
private

Definition at line 796 of file subprocess.h.

◆ parent_

Popen* subprocess::detail::Child::parent_ = nullptr
private

Definition at line 795 of file subprocess.h.


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