subprocess
0.1.0
Modern subprocess library for c++
|
Go to the documentation of this file.
84 typedef std::map<std::string, std::string>
EnvMap;
100 using std::runtime_error::runtime_error;
104 using SubprocessError::SubprocessError;
108 using SubprocessError::SubprocessError;
114 using OSError::OSError;
118 using SubprocessError::SubprocessError;
131 using SubprocessError::SubprocessError;
159 explicit operator bool()
const {
@ PSIGPROF
Definition: basic_types.hpp:56
@ PSIGINT
Definition: basic_types.hpp:30
@ PSIGHUP
Definition: basic_types.hpp:29
@ PSIGQUIT
Definition: basic_types.hpp:31
std::string cerr
Definition: basic_types.hpp:158
@ PSIGUSR2
Definition: basic_types.hpp:41
@ PSIGBUS
Definition: basic_types.hpp:36
const PipeHandle kBadPipeValue
Definition: basic_types.hpp:68
CommandLine command
Definition: basic_types.hpp:120
constexpr int kBadReturnCode
Definition: basic_types.hpp:81
@ PSIGTERM
Definition: basic_types.hpp:44
@ PSIGSTKFLT
Definition: basic_types.hpp:45
@ PSIGSTOP
Definition: basic_types.hpp:48
PipeOption
Definition: basic_types.hpp:87
@ PSIGWINCH
Definition: basic_types.hpp:57
@ PSIGSEGV
Definition: basic_types.hpp:40
int PipeHandle
Definition: basic_types.hpp:61
@ close
Troll the child by providing a closed pipe.
@ PSIGTRAP
Definition: basic_types.hpp:33
@ pipe
Redirects to a new handle created for you.
constexpr int kStdInValue
Definition: basic_types.hpp:76
::pid_t pid_t
Definition: basic_types.hpp:62
double timeout
Definition: basic_types.hpp:122
CommandLine args
Definition: basic_types.hpp:152
SigNum
Definition: basic_types.hpp:28
@ PSIGFPE
Definition: basic_types.hpp:37
@ PSIGTTOU
Definition: basic_types.hpp:51
std::string cout
Definition: basic_types.hpp:142
@ PSIGCHLD
Definition: basic_types.hpp:46
@ PSIGCONT
Definition: basic_types.hpp:47
std::map< std::string, std::string > EnvMap
Definition: basic_types.hpp:84
@ PSIGXFSZ
Definition: basic_types.hpp:54
@ cerr
redirects to stderr
CommandLine cmd
Definition: basic_types.hpp:140
int returncode
Definition: basic_types.hpp:154
Definition: basic_types.hpp:148
@ PSIGUSR1
Definition: basic_types.hpp:39
std::string cerr
Definition: basic_types.hpp:144
@ PSIGABRT
Definition: basic_types.hpp:34
std::string cout
Definition: basic_types.hpp:125
Definition: basic_types.hpp:107
@ cout
Redirects to stdout.
Definition: basic_types.hpp:99
Definition: basic_types.hpp:117
constexpr char kPathDelimiter
Definition: basic_types.hpp:65
Definition: basic_types.hpp:19
@ PSIGVTALRM
Definition: basic_types.hpp:55
@ PSIGKILL
Definition: basic_types.hpp:38
std::vector< std::string > CommandLine
Definition: basic_types.hpp:83
@ PSIGTSTP
Definition: basic_types.hpp:49
constexpr int kStdErrValue
Definition: basic_types.hpp:78
@ PSIGIOT
Definition: basic_types.hpp:35
int returncode
Definition: basic_types.hpp:138
std::string cerr
Definition: basic_types.hpp:127
std::string cout
Definition: basic_types.hpp:156
@ inherit
Inherits current process handle.
@ PSIGTTIN
Definition: basic_types.hpp:50
@ PSIGALRM
Definition: basic_types.hpp:43
@ PSIGXCPU
Definition: basic_types.hpp:53
Definition: basic_types.hpp:130
constexpr int kStdOutValue
Definition: basic_types.hpp:77
@ PSIGIO
Definition: basic_types.hpp:58
Definition: basic_types.hpp:113
@ PSIGURG
Definition: basic_types.hpp:52
@ PSIGILL
Definition: basic_types.hpp:32
@ PSIGPIPE
Definition: basic_types.hpp:42
Definition: basic_types.hpp:103