subprocess  0.4.0
Modern subprocess library for c++
Public Member Functions | Public Attributes | List of all members
subprocess::CompletedProcess Struct Reference

#include <basic_types.hpp>

Public Member Functions

 operator bool () const
 

Public Attributes

CommandLine args
 
int returncode = -1
 
std::string cout
 
std::string cerr
 

Detailed Description

Details about a completed process.

Member Function Documentation

◆ operator bool()

subprocess::CompletedProcess::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ args

CommandLine subprocess::CompletedProcess::args

The args used for the process. This includes the first first arg which is the command/executable itself.

◆ cerr

std::string subprocess::CompletedProcess::cerr

Captured stderr

◆ cout

std::string subprocess::CompletedProcess::cout

Captured stdout

◆ returncode

int subprocess::CompletedProcess::returncode = -1

negative number -N means it was terminated by signal N.


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