Launches a child process from a command given as a vector of strings, plus options.

Synopsis

Declared in <util/subprocess.h>

template<typename... Args>
Popen(
    std::vector<std::string> vargs_,
    Args&&... args);

Parameters

Name

Description

vargs_

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.

Created with MrDocs