subprocess
0.4.0
Modern subprocess library for c++
|
Go to the documentation of this file.
97 typedef std::map<std::string, std::string>
EnvMap;
113 using std::runtime_error::runtime_error;
117 using SubprocessError::SubprocessError;
121 using SubprocessError::SubprocessError;
127 using OSError::OSError;
131 using SubprocessError::SubprocessError;
144 using SubprocessError::SubprocessError;
172 explicit operator bool()
const {
@ PSIGPROF
Definition: basic_types.hpp:69
@ PSIGINT
Definition: basic_types.hpp:43
@ PSIGHUP
Definition: basic_types.hpp:42
@ PSIGQUIT
Definition: basic_types.hpp:44
std::string cerr
Definition: basic_types.hpp:171
@ PSIGUSR2
Definition: basic_types.hpp:54
@ PSIGBUS
Definition: basic_types.hpp:49
const PipeHandle kBadPipeValue
Definition: basic_types.hpp:81
CommandLine command
Definition: basic_types.hpp:133
constexpr int kBadReturnCode
Definition: basic_types.hpp:94
@ PSIGTERM
Definition: basic_types.hpp:57
@ PSIGSTKFLT
Definition: basic_types.hpp:58
@ PSIGSTOP
Definition: basic_types.hpp:61
PipeOption
Definition: basic_types.hpp:100
@ PSIGWINCH
Definition: basic_types.hpp:70
@ PSIGSEGV
Definition: basic_types.hpp:53
int PipeHandle
Definition: basic_types.hpp:74
@ close
Troll the child by providing a closed pipe.
intptr_t ssize_t
Definition: basic_types.hpp:21
@ PSIGTRAP
Definition: basic_types.hpp:46
@ pipe
Redirects to a new handle created for you.
constexpr int kStdInValue
Definition: basic_types.hpp:89
::pid_t pid_t
Definition: basic_types.hpp:75
double timeout
Definition: basic_types.hpp:135
CommandLine args
Definition: basic_types.hpp:165
SigNum
Definition: basic_types.hpp:41
@ PSIGFPE
Definition: basic_types.hpp:50
@ PSIGTTOU
Definition: basic_types.hpp:64
std::string cout
Definition: basic_types.hpp:155
@ PSIGCHLD
Definition: basic_types.hpp:59
@ PSIGCONT
Definition: basic_types.hpp:60
std::map< std::string, std::string > EnvMap
Definition: basic_types.hpp:97
@ PSIGXFSZ
Definition: basic_types.hpp:67
@ cerr
redirects to stderr
CommandLine cmd
Definition: basic_types.hpp:153
int returncode
Definition: basic_types.hpp:167
Definition: basic_types.hpp:161
@ PSIGUSR1
Definition: basic_types.hpp:52
std::string cerr
Definition: basic_types.hpp:157
@ PSIGABRT
Definition: basic_types.hpp:47
std::string cout
Definition: basic_types.hpp:138
Definition: basic_types.hpp:120
@ cout
Redirects to stdout.
Definition: basic_types.hpp:112
Definition: basic_types.hpp:130
constexpr bool kIsWin32
Definition: basic_types.hpp:31
constexpr char kPathDelimiter
Definition: basic_types.hpp:78
Definition: basic_types.hpp:19
@ PSIGVTALRM
Definition: basic_types.hpp:68
@ PSIGKILL
Definition: basic_types.hpp:51
std::vector< std::string > CommandLine
Definition: basic_types.hpp:96
@ PSIGTSTP
Definition: basic_types.hpp:62
constexpr int kStdErrValue
Definition: basic_types.hpp:91
@ PSIGIOT
Definition: basic_types.hpp:48
int returncode
Definition: basic_types.hpp:151
std::string cerr
Definition: basic_types.hpp:140
std::string cout
Definition: basic_types.hpp:169
@ inherit
Inherits current process handle.
@ PSIGTTIN
Definition: basic_types.hpp:63
@ PSIGALRM
Definition: basic_types.hpp:56
@ PSIGXCPU
Definition: basic_types.hpp:66
Definition: basic_types.hpp:143
constexpr int kStdOutValue
Definition: basic_types.hpp:90
@ PSIGIO
Definition: basic_types.hpp:71
void throw_os_error(const char *function, int errno_code)
Definition: basic_types.hpp:126
@ PSIGURG
Definition: basic_types.hpp:65
@ PSIGILL
Definition: basic_types.hpp:45
@ PSIGPIPE
Definition: basic_types.hpp:55
Definition: basic_types.hpp:116