100 typedef std::map<std::string, std::string>
EnvMap;
116 using std::runtime_error::runtime_error;
120 using SubprocessError::SubprocessError;
124 using SubprocessError::SubprocessError;
130 using OSError::OSError;
134 using SubprocessError::SubprocessError;
147 using SubprocessError::SubprocessError;
175 explicit operator bool()
const {
void throw_os_error(const char *function, int errno_code)
Definition basic_types.hpp:22
int PipeHandle
Definition basic_types.hpp:77
PipeOption
Definition basic_types.hpp:103
@ pipe
Redirects to a new handle created for you.
@ cout
Redirects to stdout.
@ inherit
Inherits current process handle.
@ close
Troll the child by providing a closed pipe.
@ cerr
redirects to stderr
intptr_t ssize_t
Definition basic_types.hpp:24
constexpr bool kIsWin32
Definition basic_types.hpp:34
constexpr char kPathDelimiter
Definition basic_types.hpp:81
const PipeHandle kBadPipeValue
Definition basic_types.hpp:84
::pid_t pid_t
Definition basic_types.hpp:78
std::vector< std::string > CommandLine
Definition basic_types.hpp:99
constexpr int kStdErrValue
Definition basic_types.hpp:94
constexpr int kStdInValue
Definition basic_types.hpp:92
std::map< std::string, std::string > EnvMap
Definition basic_types.hpp:100
constexpr int kStdOutValue
Definition basic_types.hpp:93
SigNum
Definition basic_types.hpp:44
@ PSIGSTKFLT
Definition basic_types.hpp:61
@ PSIGIOT
Definition basic_types.hpp:51
@ PSIGCONT
Definition basic_types.hpp:63
@ PSIGXFSZ
Definition basic_types.hpp:70
@ PSIGILL
Definition basic_types.hpp:48
@ PSIGBUS
Definition basic_types.hpp:52
@ PSIGPROF
Definition basic_types.hpp:72
@ PSIGURG
Definition basic_types.hpp:68
@ PSIGFPE
Definition basic_types.hpp:53
@ PSIGXCPU
Definition basic_types.hpp:69
@ PSIGSEGV
Definition basic_types.hpp:56
@ PSIGCHLD
Definition basic_types.hpp:62
@ PSIGKILL
Definition basic_types.hpp:54
@ PSIGVTALRM
Definition basic_types.hpp:71
@ PSIGIO
Definition basic_types.hpp:74
@ PSIGALRM
Definition basic_types.hpp:59
@ PSIGSTOP
Definition basic_types.hpp:64
@ PSIGTERM
Definition basic_types.hpp:60
@ PSIGTSTP
Definition basic_types.hpp:65
@ PSIGINT
Definition basic_types.hpp:46
@ PSIGQUIT
Definition basic_types.hpp:47
@ PSIGPIPE
Definition basic_types.hpp:58
@ PSIGUSR1
Definition basic_types.hpp:55
@ PSIGHUP
Definition basic_types.hpp:45
@ PSIGTTOU
Definition basic_types.hpp:67
@ PSIGABRT
Definition basic_types.hpp:50
@ PSIGUSR2
Definition basic_types.hpp:57
@ PSIGWINCH
Definition basic_types.hpp:73
@ PSIGTRAP
Definition basic_types.hpp:49
@ PSIGTTIN
Definition basic_types.hpp:66
constexpr int kBadReturnCode
Definition basic_types.hpp:97
Definition basic_types.hpp:146
std::string cerr
Definition basic_types.hpp:160
int returncode
Definition basic_types.hpp:154
std::string cout
Definition basic_types.hpp:158
CommandLine cmd
Definition basic_types.hpp:156
Definition basic_types.hpp:123
Definition basic_types.hpp:164
int returncode
Definition basic_types.hpp:170
CommandLine args
Definition basic_types.hpp:168
std::string cerr
Definition basic_types.hpp:174
std::string cout
Definition basic_types.hpp:172
Definition basic_types.hpp:119
Definition basic_types.hpp:129
Definition basic_types.hpp:115
Definition basic_types.hpp:133
double timeout
Definition basic_types.hpp:138
std::string cout
Definition basic_types.hpp:141
std::string cerr
Definition basic_types.hpp:143
CommandLine cmd
Definition basic_types.hpp:136