[#subprocess-Popen-2constructor-07] = xref:subprocess.adoc[subprocess]::xref:subprocess/Popen.adoc[Popen]::Popen :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<util/subprocess.h>` Launches a child process from a command given as an initializer list, plus options. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename... Args> xref:subprocess/Popen/2constructor-06.adoc[Popen]( std::initializer_list<char const*> cmd_args, Args&&... args); ---- [.small]#xref:subprocess/Popen/2constructor-06.adoc[_» more..._]# Launches a child process from a command given as a vector of strings, plus options. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename... Args> xref:subprocess/Popen/2constructor-0f.adoc[Popen]( std::vector<std::string> vargs_, Args&&... args); ---- [.small]#xref:subprocess/Popen/2constructor-0f.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#