subprocess::Popen::Popen

Launches a child process from a command given as an initializer list, plus options.

Synopsis

Declared in <util/subprocess.h>

template<typename... Args>
Popen(
    std::initializer_list<char const*> cmd_args,
    Args&&... args);

Parameters

NameDescription
cmd_argsCommand and its arguments, the first element being the program to run.
argsOption objects (such as input, output, error, or executable) configuring the launch.