Constructors
Declared in <util/subprocess.h>
Launches a child process from a command given as an initializer list, plus options.
template<typename... Args>
Popen(
std::initializer_list<char const*> cmd_args,
Args&&... args);
» more...
Launches a child process from a command given as a vector of strings, plus options.
template<typename... Args>
Popen(
std::vector<std::string> vargs_,
Args&&... args);
» more...
| Name | Description |
|---|---|
| cmd_args | Command and its arguments, the first element being the program to run. |
| args | Option objects (such as input, output, error, or executable) configuring the launch. |
| vargs_ | Command and its arguments, the first element being the program to run. |