[#subprocess-Popen-2constructor-06]
= xref:subprocess.adoc[subprocess]::xref:subprocess/Popen.adoc[Popen]::Popen
:relfileprefix: ../../
:mrdocs:

Launches a child process from a command given as an initializer list, plus options&period;

== Synopsis

Declared in `&lt;util&sol;subprocess&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; Args&gt;
Popen(
    std::initializer&lowbar;list&lt;char const*&gt; cmd&lowbar;args,
    Args&&&period;&period;&period; args);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cmd&lowbar;args*
| Command and its arguments, the first element being the program to run&period;
| *args*
| Option objects (such as input, output, error, or executable) configuring the launch&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
