HOPS
HOPS class reference
Public Member Functions | Public Attributes | List of all members
hops::MHO_PythonSubprocessRunner::Result Struct Reference

#include <MHO_PythonSubprocessRunner.hh>

Public Member Functions

bool Success () const
 

Public Attributes

std::string err
 captured stderr (python traceback, if any) More...
 
int exit_code = -1
 child exit status when exited == true More...
 
bool exited = false
 did the child exit normally (vs. signalled) More...
 
std::string out
 captured stdout (the JSON response) More...
 
bool spawned = false
 did popen() launch a shell/interpreter at all More...
 

Member Function Documentation

◆ Success()

bool hops::MHO_PythonSubprocessRunner::Result::Success ( ) const
inline

Member Data Documentation

◆ err

std::string hops::MHO_PythonSubprocessRunner::Result::err

captured stderr (python traceback, if any)

convenience: launched, exited normally, with status 0

◆ exit_code

int hops::MHO_PythonSubprocessRunner::Result::exit_code = -1

child exit status when exited == true

◆ exited

bool hops::MHO_PythonSubprocessRunner::Result::exited = false

did the child exit normally (vs. signalled)

◆ out

std::string hops::MHO_PythonSubprocessRunner::Result::out

captured stdout (the JSON response)

◆ spawned

bool hops::MHO_PythonSubprocessRunner::Result::spawned = false

did popen() launch a shell/interpreter at all


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