http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/subprocess__posix_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/subprocess__posix_8hpp_source.html 
b/content/api/latest/c++/subprocess__posix_8hpp_source.html
index 1f4953b..a513c5a 100644
--- a/content/api/latest/c++/subprocess__posix_8hpp_source.html
+++ b/content/api/latest/c++/subprocess__posix_8hpp_source.html
@@ -62,10 +62,10 @@
 <div class="ttc" id="namespacens_html_a98bf4d9e11d546326250997a6493f835"><div 
class="ttname"><a 
href="namespacens.html#a98bf4d9e11d546326250997a6493f835">ns::clone</a></div><div
 class="ttdeci">Try&lt; pid_t &gt; clone(pid_t target, int nstypes, const 
lambda::function&lt; int()&gt; &amp;f, int flags)</div><div 
class="ttdoc">Performs an os::clone after entering a set of namespaces for the 
specified target process...</div></div>
 <div class="ttc" id="abort_8hpp_html_a4d84a74fe6e4f84bc3d2f901b9e89f93"><div 
class="ttname"><a 
href="abort_8hpp.html#a4d84a74fe6e4f84bc3d2f901b9e89f93">ABORT</a></div><div 
class="ttdeci">#define ABORT(...)</div><div class="ttdef"><b>Definition:</b> 
abort.hpp:40</div></div>
 <div class="ttc" id="classOption_html_abbbed1bc42634fa9092160b16be6ca7e"><div 
class="ttname"><a 
href="classOption.html#abbbed1bc42634fa9092160b16be6ca7e">Option::getOrElse</a></div><div
 class="ttdeci">T getOrElse(U &amp;&amp;u) const &amp;</div><div 
class="ttdef"><b>Definition:</b> option.hpp:127</div></div>
-<div class="ttc" 
id="namespaceprocess_html_a882829822afa4f33b90aafc9c4ffa9af"><div 
class="ttname"><a 
href="namespaceprocess.html#a882829822afa4f33b90aafc9c4ffa9af">process::OutputFileDescriptors</a></div><div
 class="ttdeci">Subprocess::IO::OutputFileDescriptors 
OutputFileDescriptors</div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:342</div></div>
+<div class="ttc" 
id="namespaceprocess_html_a882829822afa4f33b90aafc9c4ffa9af"><div 
class="ttname"><a 
href="namespaceprocess.html#a882829822afa4f33b90aafc9c4ffa9af">process::OutputFileDescriptors</a></div><div
 class="ttdeci">Subprocess::IO::OutputFileDescriptors 
OutputFileDescriptors</div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:344</div></div>
 <div class="ttc" id="classTry_html_a8bc7f43e75a47111ea18e9c83b007be5"><div 
class="ttname"><a 
href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">Try::get</a></div><div 
class="ttdeci">T &amp; get()&amp;</div><div class="ttdef"><b>Definition:</b> 
try.hpp:73</div></div>
 <div class="ttc" 
id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_a1c2b5693161bbc9d516ef5d16c7b54f5"><div
 class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#a1c2b5693161bbc9d516ef5d16c7b54f5">SIGKILL</a></div><div
 class="ttdeci">const mode_t SIGKILL</div><div class="ttdef"><b>Definition:</b> 
windows.hpp:335</div></div>
-<div class="ttc" id="classprocess_1_1Subprocess_1_1ChildHook_html"><div 
class="ttname"><a 
href="classprocess_1_1Subprocess_1_1ChildHook.html">process::Subprocess::ChildHook</a></div><div
 class="ttdoc">A ChildHook can be passed to a subprocess call. </div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:189</div></div>
+<div class="ttc" id="classprocess_1_1Subprocess_1_1ChildHook_html"><div 
class="ttname"><a 
href="classprocess_1_1Subprocess_1_1ChildHook.html">process::Subprocess::ChildHook</a></div><div
 class="ttdoc">A ChildHook can be passed to a subprocess call. </div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:190</div></div>
 <div class="ttc" id="classTry_html"><div class="ttname"><a 
href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> 
check.hpp:33</div></div>
 <div class="ttc" id="classhashset_html"><div class="ttname"><a 
href="classhashset.html">hashset</a></div><div class="ttdef"><b>Definition:</b> 
hashset.hpp:53</div></div>
 <div class="ttc" id="subprocess_8hpp_html"><div class="ttname"><a 
href="subprocess_8hpp.html">subprocess.hpp</a></div></div>
@@ -82,7 +82,7 @@
 <div class="ttc" id="lambda_8hpp_html"><div class="ttname"><a 
href="lambda_8hpp.html">lambda.hpp</a></div></div>
 <div class="ttc" id="close_8hpp_html"><div class="ttname"><a 
href="close_8hpp.html">close.hpp</a></div></div>
 <div class="ttc" id="classOption_html_a4e3bf8416d95246f43c91f1b5c309323"><div 
class="ttname"><a 
href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">Option::isSome</a></div><div
 class="ttdeci">bool isSome() const </div><div class="ttdef"><b>Definition:</b> 
option.hpp:115</div></div>
-<div class="ttc" 
id="namespaceprocess_html_afc6611c4913642642277b44447a16e55"><div 
class="ttname"><a 
href="namespaceprocess.html#afc6611c4913642642277b44447a16e55">process::InputFileDescriptors</a></div><div
 class="ttdeci">Subprocess::IO::InputFileDescriptors 
InputFileDescriptors</div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:341</div></div>
+<div class="ttc" 
id="namespaceprocess_html_afc6611c4913642642277b44447a16e55"><div 
class="ttname"><a 
href="namespaceprocess.html#afc6611c4913642642277b44447a16e55">process::InputFileDescriptors</a></div><div
 class="ttdeci">Subprocess::IO::InputFileDescriptors 
InputFileDescriptors</div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:343</div></div>
 <div class="ttc" id="strerror_8hpp_html"><div class="ttname"><a 
href="strerror_8hpp.html">strerror.hpp</a></div></div>
 <div class="ttc" 
id="namespacemesos_1_1internal_1_1tests_html_a1396c5e3b0a179220de2792d74770ec2"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">mesos::internal::tests::environment</a></div><div
 class="ttdeci">Environment * environment</div></div>
 <div class="ttc" 
id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_ab03ced250ed239bc3b50b669493997f9"><div
 class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a></div><div
 class="ttdeci">DWORD pid_t</div><div class="ttdef"><b>Definition:</b> 
windows.hpp:181</div></div>
@@ -102,7 +102,7 @@
 <div class="ttc" 
id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_afcf80a6d91178952d107ad00b165752b"><div
 class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#afcf80a6d91178952d107ad00b165752b">STDIN_FILENO</a></div><div
 class="ttdeci">#define STDIN_FILENO</div><div class="ttdef"><b>Definition:</b> 
windows.hpp:153</div></div>
 <div class="ttc" id="classTry_html_aec4a11ddd3c036e889d90b7eb6258ba7"><div 
class="ttname"><a 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">Try::error</a></div><div 
class="ttdeci">static Try error(const E &amp;e)</div><div 
class="ttdef"><b>Definition:</b> try.hpp:42</div></div>
 <div class="ttc" 
id="unreachable_8hpp_html_a0bc63b24b654ca433be7b97a3edde132"><div 
class="ttname"><a 
href="unreachable_8hpp.html#a0bc63b24b654ca433be7b97a3edde132">UNREACHABLE</a></div><div
 class="ttdeci">#define UNREACHABLE()</div><div 
class="ttdef"><b>Definition:</b> unreachable.hpp:22</div></div>
-<div class="ttc" 
id="structprocess_1_1Subprocess_1_1ParentHook_html_aaf9ff141314d619cd65cd8ec9320fb7d"><div
 class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html#aaf9ff141314d619cd65cd8ec9320fb7d">process::Subprocess::ParentHook::parent_setup</a></div><div
 class="ttdeci">const lambda::function&lt; Try&lt; Nothing &gt;pid_t)&gt; 
parent_setup</div><div class="ttdoc">The callback that must be specified for 
execution after the child has been cloned, but before it starts executing the 
new process. </div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:162</div></div>
+<div class="ttc" 
id="structprocess_1_1Subprocess_1_1ParentHook_html_aaf9ff141314d619cd65cd8ec9320fb7d"><div
 class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html#aaf9ff141314d619cd65cd8ec9320fb7d">process::Subprocess::ParentHook::parent_setup</a></div><div
 class="ttdeci">const lambda::function&lt; Try&lt; Nothing &gt;pid_t)&gt; 
parent_setup</div><div class="ttdoc">The callback that must be specified for 
execution after the child has been cloned, but before it starts executing the 
new process. </div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:163</div></div>
 <div class="ttc" id="foreach_8hpp_html"><div class="ttname"><a 
href="foreach_8hpp.html">foreach.hpp</a></div></div>
 <div class="ttc" id="error_8hpp_html"><div class="ttname"><a 
href="error_8hpp.html">error.hpp</a></div></div>
 <div class="ttc" id="namespaceinternal_html"><div class="ttname"><a 
href="namespaceinternal.html">internal</a></div><div 
class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
@@ -112,7 +112,7 @@
 <div class="ttc" id="namespaceprocess_html"><div class="ttname"><a 
href="namespaceprocess.html">process</a></div><div 
class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
 <div class="ttc" id="exit_8hpp_html"><div class="ttname"><a 
href="exit_8hpp.html">exit.hpp</a></div></div>
 <div class="ttc" id="try_8hpp_html"><div class="ttname"><a 
href="try_8hpp.html">try.hpp</a></div></div>
-<div class="ttc" id="namespaceos_html_aebc3586b2be0d2b9093ccfbf25dfcde8"><div 
class="ttname"><a 
href="namespaceos.html#aebc3586b2be0d2b9093ccfbf25dfcde8">os::execvpe</a></div><div
 class="ttdeci">int execvpe(const std::string &amp;command, const 
std::vector&lt; std::string &gt; &amp;argv, const std::map&lt; std::string, 
std::string &gt; &amp;envp)</div><div class="ttdef"><b>Definition:</b> 
shell.hpp:548</div></div>
+<div class="ttc" id="namespaceos_html_aebc3586b2be0d2b9093ccfbf25dfcde8"><div 
class="ttname"><a 
href="namespaceos.html#aebc3586b2be0d2b9093ccfbf25dfcde8">os::execvpe</a></div><div
 class="ttdeci">int execvpe(const std::string &amp;command, const 
std::vector&lt; std::string &gt; &amp;argv, const std::map&lt; std::string, 
std::string &gt; &amp;envp)</div><div class="ttdef"><b>Definition:</b> 
shell.hpp:592</div></div>
 <div class="ttc" id="signals_8hpp_html"><div class="ttname"><a 
href="signals_8hpp.html">signals.hpp</a></div></div>
 <div class="ttc" id="hashset_8hpp_html"><div class="ttname"><a 
href="hashset_8hpp.html">hashset.hpp</a></div></div>
 <div class="ttc" 
id="namespacemesos_1_1internal_1_1log_1_1protocol_html_a66ff2d5af4db53227f787281c0765d8d"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">mesos::internal::log::protocol::write</a></div><div
 class="ttdeci">Protocol&lt; WriteRequest, WriteResponse &gt; write</div></div>
@@ -120,7 +120,7 @@
 <div class="ttc" 
id="namespacecgroups_html_ab75e1e2d1be63eec907bf12306a7c8a7"><div 
class="ttname"><a 
href="namespacecgroups.html#ab75e1e2d1be63eec907bf12306a7c8a7">cgroups::kill</a></div><div
 class="ttdeci">Try&lt; Nothing &gt; kill(const std::string &amp;hierarchy, 
const std::string &amp;cgroup, int signal)</div></div>
 <div class="ttc" 
id="namespaceprocess_1_1network_html_ad067110a4b38cc83785a43f49bf6c8e2"><div 
class="ttname"><a 
href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">process::network::bind</a></div><div
 class="ttdeci">Try&lt; Nothing &gt; bind(int_fd s, const Address 
&amp;address)</div><div class="ttdef"><b>Definition:</b> 
network.hpp:46</div></div>
 <div class="ttc" 
id="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors_html_ab812da47364d793d9ec0471d3dc8c1bc"><div
 class="ttname"><a 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html#ab812da47364d793d9ec0471d3dc8c1bc">process::Subprocess::IO::InputFileDescriptors::write</a></div><div
 class="ttdeci">Option&lt; int_fd &gt; write</div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:76</div></div>
-<div class="ttc" id="structprocess_1_1Subprocess_1_1ParentHook_html"><div 
class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html">process::Subprocess::ParentHook</a></div><div
 class="ttdoc">A hook can be passed to a subprocess call. </div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:151</div></div>
+<div class="ttc" id="structprocess_1_1Subprocess_1_1ParentHook_html"><div 
class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html">process::Subprocess::ParentHook</a></div><div
 class="ttdoc">A hook can be passed to a subprocess call. </div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:152</div></div>
 <div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div 
class="ttname"><a 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div
 class="ttdeci">std::string stringify(int flags)</div></div>
 <div class="ttc" id="exit_8hpp_html_a637cd32ee4af0a5a1d1aea8a0d7f7564"><div 
class="ttname"><a 
href="exit_8hpp.html#a637cd32ee4af0a5a1d1aea8a0d7f7564">SAFE_EXIT</a></div><div 
class="ttdeci">#define SAFE_EXIT(status, fmt,...)</div><div 
class="ttdef"><b>Definition:</b> exit.hpp:42</div></div>
 <div class="ttc" id="unreachable_8hpp_html"><div class="ttname"><a 
href="unreachable_8hpp.html">unreachable.hpp</a></div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/subprocess__windows_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/subprocess__windows_8hpp.html 
b/content/api/latest/c++/subprocess__windows_8hpp.html
index ca14015..c6e1a69 100644
--- a/content/api/latest/c++/subprocess__windows_8hpp.html
+++ b/content/api/latest/c++/subprocess__windows_8hpp.html
@@ -83,8 +83,8 @@ Namespaces</h2></td></tr>
 </table><table class="memberdecls">
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="func-members"></a>
 Functions</h2></td></tr>
-<tr class="memitem:af291711ccd03a2e0608df1c32cc28871"><td class="memItemLeft" 
align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt;::<a 
class="el" 
href="structinternal_1_1windows_1_1ProcessData.html">internal::windows::ProcessData</a>
 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceprocess_1_1internal.html#af291711ccd03a2e0608df1c32cc28871">process::internal::createChildProcess</a>
 (const std::string &amp;path, const std::vector&lt; std::string &gt; 
&amp;argv, const <a class="el" href="classOption.html">Option</a>&lt; 
std::map&lt; std::string, std::string &gt;&gt; &amp;environment, const 
std::vector&lt; Subprocess::ParentHook &gt; &amp;parent_hooks, const 
InputFileDescriptors &amp;stdinfds, const OutputFileDescriptors &amp;stdoutfds, 
const OutputFileDescriptors &amp;stderrfds)</td></tr>
-<tr class="separator:af291711ccd03a2e0608df1c32cc28871"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a32020f2bbbcc116f2e055e209b4b8ce7"><td class="memItemLeft" 
align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt;::<a 
class="el" 
href="structinternal_1_1windows_1_1ProcessData.html">internal::windows::ProcessData</a>
 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceprocess_1_1internal.html#a32020f2bbbcc116f2e055e209b4b8ce7">process::internal::createChildProcess</a>
 (const std::string &amp;path, const std::vector&lt; std::string &gt; 
&amp;argv, const <a class="el" href="classOption.html">Option</a>&lt; 
std::map&lt; std::string, std::string &gt;&gt; &amp;environment, const 
std::vector&lt; Subprocess::ParentHook &gt; &amp;parent_hooks, const 
InputFileDescriptors &amp;stdinfds, const OutputFileDescriptors &amp;stdoutfds, 
const OutputFileDescriptors &amp;stderrfds, const std::vector&lt; <a class="el" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> &gt; 
&amp;whitelist_fds={})</td></tr>
+<tr class="separator:a32020f2bbbcc116f2e055e209b4b8ce7"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
 </table>
 </div><!-- contents -->
 <!-- start footer part -->

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/subprocess__windows_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/subprocess__windows_8hpp_source.html 
b/content/api/latest/c++/subprocess__windows_8hpp_source.html
index 6558508..5ebf15f 100644
--- a/content/api/latest/c++/subprocess__windows_8hpp_source.html
+++ b/content/api/latest/c++/subprocess__windows_8hpp_source.html
@@ -52,9 +52,10 @@
 <div class="title">subprocess_windows.hpp</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="subprocess__windows_8hpp.html">Go to the documentation of this 
file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span 
class="lineno">    1</span>&#160;<span class="comment">// Licensed under the 
Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div 
class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span 
class="comment">// you may not use this file except in compliance with the 
License.</span></div><div class="line"><a name="l00003"></a><span 
class="lineno">    3</span>&#160;<span class="comment">// You may obtain a copy 
of the License at</span></div><div class="line"><a name="l00004"></a><span 
class="lineno">    4</span>&#160;<span class="comment">//</span></div><div 
class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span 
class="comment">//     
http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a 
name="l00006"></a><span class="lineno">    6</span>&#160;<span class="co
 mment">//</span></div><div class="line"><a name="l00007"></a><span 
class="lineno">    7</span>&#160;<span class="comment">// Unless required by 
applicable law or agreed to in writing, software</span></div><div 
class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span 
class="comment">// distributed under the License is distributed on an &quot;AS 
IS&quot; BASIS,</span></div><div class="line"><a name="l00009"></a><span 
class="lineno">    9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR 
CONDITIONS OF ANY KIND, either express or implied.</span></div><div 
class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span 
class="comment">// See the License for the specific language governing 
permissions and</span></div><div class="line"><a name="l00011"></a><span 
class="lineno">   11</span>&#160;<span class="comment">// limitations under the 
License</span></div><div class="line"><a name="l00012"></a><span 
class="lineno">   12</span>&#160;</div><
 div class="line"><a name="l00013"></a><span class="lineno">   
13</span>&#160;<span class="preprocessor">#ifndef 
__PROCESS_WINDOWS_SUBPROCESS_HPP__</span></div><div class="line"><a 
name="l00014"></a><span class="lineno">   14</span>&#160;<span 
class="preprocessor">#define 
__PROCESS_WINDOWS_SUBPROCESS_HPP__</span></div><div class="line"><a 
name="l00015"></a><span class="lineno">   15</span>&#160;</div><div 
class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span 
class="preprocessor">#include &lt;signal.h&gt;</span></div><div class="line"><a 
name="l00017"></a><span class="lineno">   17</span>&#160;</div><div 
class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span 
class="preprocessor">#include &lt;array&gt;</span></div><div class="line"><a 
name="l00019"></a><span class="lineno">   19</span>&#160;<span 
class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a 
name="l00020"></a><span class="lineno">   20</span>&#160;</div><d
 iv class="line"><a name="l00021"></a><span class="lineno">   
21</span>&#160;<span class="preprocessor">#include 
&lt;glog/logging.h&gt;</span></div><div class="line"><a name="l00022"></a><span 
class="lineno">   22</span>&#160;</div><div class="line"><a 
name="l00023"></a><span class="lineno">   23</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="subprocess_8hpp.html">process/subprocess.hpp</a>&gt;</span></div><div 
class="line"><a name="l00024"></a><span class="lineno">   
24</span>&#160;</div><div class="line"><a name="l00025"></a><span 
class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;<a 
class="code" href="error_8hpp.html">stout/error.hpp</a>&gt;</span></div><div 
class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="foreach_8hpp.html">stout/foreach.hpp</a>&gt;</span></div><div 
class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span 
cla
 ss="preprocessor">#include &lt;<a class="code" 
href="hashset_8hpp.html">stout/hashset.hpp</a>&gt;</span></div><div 
class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="option_8hpp.html">stout/option.hpp</a>&gt;</span></div><div 
class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="os_8hpp.html">stout/os.hpp</a>&gt;</span></div><div class="line"><a 
name="l00030"></a><span class="lineno">   30</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="shell_8hpp.html">stout/os/shell.hpp</a>&gt;</span></div><div 
class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="try_8hpp.html">stout/try.hpp</a>&gt;</span></div><div class="line"><a 
name="l00032"></a><span class="lineno">   32</span>&#160;<span 
class="preprocessor">#include &lt;<a
  class="code" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">stout/windows.hpp</a>&gt;</span></div><div
 class="line"><a name="l00033"></a><span class="lineno">   
33</span>&#160;</div><div class="line"><a name="l00034"></a><span 
class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;<a 
class="code" href="close_8hpp.html">stout/os/close.hpp</a>&gt;</span></div><div 
class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="3rdparty_2stout_2include_2stout_2os_2environment_8hpp.html">stout/os/environment.hpp</a>&gt;</span></div><div
 class="line"><a name="l00036"></a><span class="lineno">   
36</span>&#160;</div><div class="line"><a name="l00037"></a><span 
class="lineno">   37</span>&#160;<span class="preprocessor">#include 
&lt;userEnv.h&gt;</span></div><div class="line"><a name="l00038"></a><span 
class="lineno">   38</span>&#160;</div><div class="line"><a 
name="l00039"></a><span class
 ="lineno">   39</span>&#160;<span class="keyword">namespace </span><a 
class="code" href="namespaceprocess.html">process</a> {</div><div 
class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span 
class="keyword">namespace </span><a class="code" 
href="namespaceinternal.html">internal</a> {</div><div class="line"><a 
name="l00041"></a><span class="lineno">   41</span>&#160;</div><div 
class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span 
class="comment">// NOTE: We are expecting that components of `argv` that need 
to be quoted</span></div><div class="line"><a name="l00043"></a><span 
class="lineno">   43</span>&#160;<span class="comment">// (for example, paths 
with spaces in them like `C:\&quot;Program 
Files&quot;\foo.exe`)</span></div><div class="line"><a name="l00044"></a><span 
class="lineno">   44</span>&#160;<span class="comment">// to have been already 
quoted correctly before we generate `command`.</span></div><div class="line"><a 
name="l0
 0045"></a><span class="lineno">   45</span>&#160;<span class="comment">// 
Incorrectly-quoted command arguments will probably lead the child 
process</span></div><div class="line"><a name="l00046"></a><span 
class="lineno">   46</span>&#160;<span class="comment">// to terminate with an 
error. See also NOTE on `process::subprocess`.</span></div><div class="line"><a 
name="l00047"></a><span class="lineno"><a class="line" 
href="namespaceprocess_1_1internal.html#af291711ccd03a2e0608df1c32cc28871">   
47</a></span>&#160;<span class="keyword">inline</span> <a class="code" 
href="classTry.html">Try&lt;::internal::windows::ProcessData&gt;</a> <a 
class="code" 
href="namespaceprocess_1_1internal.html#af291711ccd03a2e0608df1c32cc28871">createChildProcess</a>(</div><div
 class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    
<span class="keyword">const</span> std::string&amp; <a class="code" 
href="namespacepath.html">path</a>,</div><div class="line"><a 
name="l00049"></a><span clas
 s="lineno">   49</span>&#160;    <span class="keyword">const</span> 
std::vector&lt;std::string&gt;&amp; argv,</div><div class="line"><a 
name="l00050"></a><span class="lineno">   50</span>&#160;    <span 
class="keyword">const</span> <a class="code" 
href="classOption.html">Option</a>&lt;std::map&lt;std::string, 
std::string&gt;&gt;&amp; <a class="code" 
href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div
 class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    
<span class="keyword">const</span> 
std::vector&lt;Subprocess::ParentHook&gt;&amp; parent_hooks,</div><div 
class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    
<span class="keyword">const</span> <a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html">InputFileDescriptors</a>&amp;
 stdinfds,</div><div class="line"><a name="l00053"></a><span class="lineno">   
53</span>&#160;    <span class="keyword">const<
 /span> <a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html">OutputFileDescriptors</a>&amp;
 stdoutfds,</div><div class="line"><a name="l00054"></a><span class="lineno">   
54</span>&#160;    <span class="keyword">const</span> <a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html">OutputFileDescriptors</a>&amp;
 stderrfds)</div><div class="line"><a name="l00055"></a><span class="lineno">   
55</span>&#160;{</div><div class="line"><a name="l00056"></a><span 
class="lineno">   56</span>&#160;  <span class="keyword">const</span> 
std::array&lt;int_fd, 3&gt; fds{</div><div class="line"><a 
name="l00057"></a><span class="lineno">   57</span>&#160;    stdinfds.<a 
class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html#a0a3f315345ef7b7ee6f3f1d4d337854d">read</a>,
 stdoutfds.<a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html#a5dabb8e3008efd61ce42478f260b54ac">write</a>,
 stde
 rrfds.<a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html#a5dabb8e3008efd61ce42478f260b54ac">write</a>};</div><div
 class="line"><a name="l00058"></a><span class="lineno">   
58</span>&#160;</div><div class="line"><a name="l00059"></a><span 
class="lineno">   59</span>&#160;  <a class="code" 
href="classTry.html">Try&lt;::internal::windows::ProcessData&gt;</a> 
process_data =</div><div class="line"><a name="l00060"></a><span 
class="lineno">   60</span>&#160;    <a class="code" 
href="namespaceinternal_1_1windows.html#aaaa193083fd4f24a2e92e57ee8a8319f">::internal::windows::create_process</a>(</div><div
 class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;      
  path,</div><div class="line"><a name="l00062"></a><span class="lineno">   
62</span>&#160;        argv,</div><div class="line"><a name="l00063"></a><span 
class="lineno">   63</span>&#160;        <a class="code" 
href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de27
 92d74770ec2">environment</a>,</div><div class="line"><a 
name="l00064"></a><span class="lineno">   64</span>&#160;        <span 
class="keyword">true</span>, <span class="comment">// Create 
suspended.</span></div><div class="line"><a name="l00065"></a><span 
class="lineno">   65</span>&#160;        fds);</div><div class="line"><a 
name="l00066"></a><span class="lineno">   66</span>&#160;</div><div 
class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  
<span class="comment">// Close the child-ends of the file descriptors that are 
created</span></div><div class="line"><a name="l00068"></a><span 
class="lineno">   68</span>&#160;  <span class="comment">// by this 
function.</span></div><div class="line"><a name="l00069"></a><span 
class="lineno">   69</span>&#160;  <span class="keywordflow">foreach</span> 
(<span class="keyword">const</span> <a class="code" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a>&amp; fd, 
fds) {</div><div class="line"><a name="
 l00070"></a><span class="lineno">   70</span>&#160;    <span 
class="keywordflow">if</span> (fd.is_valid()) {</div><div class="line"><a 
name="l00071"></a><span class="lineno">   71</span>&#160;      <a class="code" 
href="classTry.html">Try&lt;Nothing&gt;</a> result = <a class="code" 
href="namespaceos.html#a8df77ec6d6b8d32d9b287a41bc74cfdc">os::close</a>(fd);</div><div
 class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;      
<span class="keywordflow">if</span> (result.<a class="code" 
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) 
{</div><div class="line"><a name="l00073"></a><span class="lineno">   
73</span>&#160;        <span class="keywordflow">return</span> <a class="code" 
href="classError.html">Error</a>(result.<a class="code" 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div 
class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;      
}</div><div class="line"><a name="l00075"></a><span cla
 ss="lineno">   75</span>&#160;    }</div><div class="line"><a 
name="l00076"></a><span class="lineno">   76</span>&#160;  }</div><div 
class="line"><a name="l00077"></a><span class="lineno">   
77</span>&#160;</div><div class="line"><a name="l00078"></a><span 
class="lineno">   78</span>&#160;  <span class="keywordflow">if</span> 
(process_data.<a class="code" 
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) 
{</div><div class="line"><a name="l00079"></a><span class="lineno">   
79</span>&#160;    <span class="keywordflow">return</span> <a class="code" 
href="classError.html">Error</a>(process_data.<a class="code" 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div 
class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  
}</div><div class="line"><a name="l00081"></a><span class="lineno">   
81</span>&#160;</div><div class="line"><a name="l00082"></a><span 
class="lineno">   82</span>&#160;  <span class="comment">// Run the pare
 nt hooks.</span></div><div class="line"><a name="l00083"></a><span 
class="lineno">   83</span>&#160;  <span class="keyword">const</span> <a 
class="code" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a>
 pid = process_data-&gt;<a class="code" 
href="structinternal_1_1windows_1_1ProcessData.html#a65a4a4aba5450087363bfffdb30eea25">pid</a>;</div><div
 class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  
<span class="keywordflow">foreach</span> (<span class="keyword">const</span> <a 
class="code" 
href="structprocess_1_1Subprocess_1_1ParentHook.html">Subprocess::ParentHook</a>&amp;
 hook, parent_hooks) {</div><div class="line"><a name="l00085"></a><span 
class="lineno">   85</span>&#160;    <a class="code" 
href="classTry.html">Try&lt;Nothing&gt;</a> parent_setup = hook.<a class="code" 
href="structprocess_1_1Subprocess_1_1ParentHook.html#aaf9ff141314d619cd65cd8ec9320fb7d">parent_setup</a>(pid);</div><div
 class="line"><a n
 ame="l00086"></a><span class="lineno">   86</span>&#160;</div><div 
class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    
<span class="comment">// If the hook callback fails, we shouldn&#39;t proceed 
with the</span></div><div class="line"><a name="l00088"></a><span 
class="lineno">   88</span>&#160;    <span class="comment">// execution and 
hence the child process should be killed.</span></div><div class="line"><a 
name="l00089"></a><span class="lineno">   89</span>&#160;    <span 
class="keywordflow">if</span> (parent_setup.<a class="code" 
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) 
{</div><div class="line"><a name="l00090"></a><span class="lineno">   
90</span>&#160;      <span class="comment">// Attempt to kill the process. 
Since it is still in suspended state, we</span></div><div class="line"><a 
name="l00091"></a><span class="lineno">   91</span>&#160;      <span 
class="comment">// do not need to kill any descendents. We also can&#39;t
  use `os::kill_job`</span></div><div class="line"><a name="l00092"></a><span 
class="lineno">   92</span>&#160;      <span class="comment">// because this 
process is not in a Job Object unless one of the parent</span></div><div 
class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;      
<span class="comment">// hooks added it.</span></div><div class="line"><a 
name="l00094"></a><span class="lineno">   94</span>&#160;      
::TerminateProcess(process_data-&gt;<a class="code" 
href="structinternal_1_1windows_1_1ProcessData.html#a96c76121644bd430e9ca67cf57636c0d">process_handle</a>.<a
 class="code" 
href="classSharedHandle.html#a800385e17e17cb826147968e748fd8fa">get_handle</a>(),
 1);</div><div class="line"><a name="l00095"></a><span class="lineno">   
95</span>&#160;</div><div class="line"><a name="l00096"></a><span 
class="lineno">   96</span>&#160;      <span class="keywordflow">return</span> 
<a class="code" href="classError.html">Error</a>(</div><div class="line"><a 
name=
 "l00097"></a><span class="lineno">   97</span>&#160;          <span 
class="stringliteral">&quot;Failed to execute Parent Hook in child 
&#39;&quot;</span> + <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(pid) 
+</div><div class="line"><a name="l00098"></a><span class="lineno">   
98</span>&#160;          <span class="stringliteral">&quot;&#39; with command 
&#39;&quot;</span> + <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(argv) + 
<span class="stringliteral">&quot;&#39;: &quot;</span> +</div><div 
class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;       
   parent_setup.<a class="code" 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div 
class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    
}</div><div class="line"><a name="l00101"></a><span class="lineno">  
101</span>&#160;  }</div><div class="line"><a name="l00102"></a><span class="li
 neno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span 
class="lineno">  103</span>&#160;  <span class="comment">// Start child 
process.</span></div><div class="line"><a name="l00104"></a><span 
class="lineno">  104</span>&#160;  <span class="keywordflow">if</span> 
(::ResumeThread(process_data-&gt;<a class="code" 
href="structinternal_1_1windows_1_1ProcessData.html#a7160cf48fc6e70d9390233b246b93bee">thread_handle</a>.<a
 class="code" 
href="classSharedHandle.html#a800385e17e17cb826147968e748fd8fa">get_handle</a>())
 == -1) {</div><div class="line"><a name="l00105"></a><span class="lineno">  
105</span>&#160;    <span class="keywordflow">return</span> <a class="code" 
href="classWindowsError.html">WindowsError</a>(</div><div class="line"><a 
name="l00106"></a><span class="lineno">  106</span>&#160;        <span 
class="stringliteral">&quot;Failed to resume child process with command 
&#39;&quot;</span> +</div><div class="line"><a name="l00107"></a><span 
class="lineno">  107<
 /span>&#160;        <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(argv) + 
<span class="stringliteral">&quot;&#39;&quot;</span>);</div><div 
class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  
}</div><div class="line"><a name="l00109"></a><span class="lineno">  
109</span>&#160;</div><div class="line"><a name="l00110"></a><span 
class="lineno">  110</span>&#160;  <span class="keywordflow">return</span> 
process_data;</div><div class="line"><a name="l00111"></a><span class="lineno"> 
 111</span>&#160;}</div><div class="line"><a name="l00112"></a><span 
class="lineno">  112</span>&#160;</div><div class="line"><a 
name="l00113"></a><span class="lineno">  113</span>&#160;}  <span 
class="comment">// namespace internal {</span></div><div class="line"><a 
name="l00114"></a><span class="lineno">  114</span>&#160;}  <span 
class="comment">// namespace process {</span></div><div class="line"><a 
name="l00115"></a><span class="lineno">  115
 </span>&#160;</div><div class="line"><a name="l00116"></a><span 
class="lineno">  116</span>&#160;<span class="preprocessor">#endif // 
__PROCESS_WINDOWS_SUBPROCESS_HPP__</span></div><div class="ttc" 
id="namespacepath_html"><div class="ttname"><a 
href="namespacepath.html">path</a></div><div class="ttdef"><b>Definition:</b> 
path.hpp:26</div></div>
+<a href="subprocess__windows_8hpp.html">Go to the documentation of this 
file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span 
class="lineno">    1</span>&#160;<span class="comment">// Licensed under the 
Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div 
class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span 
class="comment">// you may not use this file except in compliance with the 
License.</span></div><div class="line"><a name="l00003"></a><span 
class="lineno">    3</span>&#160;<span class="comment">// You may obtain a copy 
of the License at</span></div><div class="line"><a name="l00004"></a><span 
class="lineno">    4</span>&#160;<span class="comment">//</span></div><div 
class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span 
class="comment">//     
http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a 
name="l00006"></a><span class="lineno">    6</span>&#160;<span class="co
 mment">//</span></div><div class="line"><a name="l00007"></a><span 
class="lineno">    7</span>&#160;<span class="comment">// Unless required by 
applicable law or agreed to in writing, software</span></div><div 
class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span 
class="comment">// distributed under the License is distributed on an &quot;AS 
IS&quot; BASIS,</span></div><div class="line"><a name="l00009"></a><span 
class="lineno">    9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR 
CONDITIONS OF ANY KIND, either express or implied.</span></div><div 
class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span 
class="comment">// See the License for the specific language governing 
permissions and</span></div><div class="line"><a name="l00011"></a><span 
class="lineno">   11</span>&#160;<span class="comment">// limitations under the 
License</span></div><div class="line"><a name="l00012"></a><span 
class="lineno">   12</span>&#160;</div><
 div class="line"><a name="l00013"></a><span class="lineno">   
13</span>&#160;<span class="preprocessor">#ifndef 
__PROCESS_WINDOWS_SUBPROCESS_HPP__</span></div><div class="line"><a 
name="l00014"></a><span class="lineno">   14</span>&#160;<span 
class="preprocessor">#define 
__PROCESS_WINDOWS_SUBPROCESS_HPP__</span></div><div class="line"><a 
name="l00015"></a><span class="lineno">   15</span>&#160;</div><div 
class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span 
class="preprocessor">#include &lt;signal.h&gt;</span></div><div class="line"><a 
name="l00017"></a><span class="lineno">   17</span>&#160;</div><div 
class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span 
class="preprocessor">#include &lt;array&gt;</span></div><div class="line"><a 
name="l00019"></a><span class="lineno">   19</span>&#160;<span 
class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a 
name="l00020"></a><span class="lineno">   20</span>&#160;</div><d
 iv class="line"><a name="l00021"></a><span class="lineno">   
21</span>&#160;<span class="preprocessor">#include 
&lt;glog/logging.h&gt;</span></div><div class="line"><a name="l00022"></a><span 
class="lineno">   22</span>&#160;</div><div class="line"><a 
name="l00023"></a><span class="lineno">   23</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="subprocess_8hpp.html">process/subprocess.hpp</a>&gt;</span></div><div 
class="line"><a name="l00024"></a><span class="lineno">   
24</span>&#160;</div><div class="line"><a name="l00025"></a><span 
class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;<a 
class="code" href="error_8hpp.html">stout/error.hpp</a>&gt;</span></div><div 
class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="foreach_8hpp.html">stout/foreach.hpp</a>&gt;</span></div><div 
class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span 
cla
 ss="preprocessor">#include &lt;<a class="code" 
href="hashset_8hpp.html">stout/hashset.hpp</a>&gt;</span></div><div 
class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="option_8hpp.html">stout/option.hpp</a>&gt;</span></div><div 
class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="os_8hpp.html">stout/os.hpp</a>&gt;</span></div><div class="line"><a 
name="l00030"></a><span class="lineno">   30</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="shell_8hpp.html">stout/os/shell.hpp</a>&gt;</span></div><div 
class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="try_8hpp.html">stout/try.hpp</a>&gt;</span></div><div class="line"><a 
name="l00032"></a><span class="lineno">   32</span>&#160;<span 
class="preprocessor">#include &lt;<a
  class="code" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">stout/windows.hpp</a>&gt;</span></div><div
 class="line"><a name="l00033"></a><span class="lineno">   
33</span>&#160;</div><div class="line"><a name="l00034"></a><span 
class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;<a 
class="code" href="close_8hpp.html">stout/os/close.hpp</a>&gt;</span></div><div 
class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span 
class="preprocessor">#include &lt;<a class="code" 
href="3rdparty_2stout_2include_2stout_2os_2environment_8hpp.html">stout/os/environment.hpp</a>&gt;</span></div><div
 class="line"><a name="l00036"></a><span class="lineno">   
36</span>&#160;</div><div class="line"><a name="l00037"></a><span 
class="lineno">   37</span>&#160;<span class="preprocessor">#include 
&lt;userEnv.h&gt;</span></div><div class="line"><a name="l00038"></a><span 
class="lineno">   38</span>&#160;</div><div class="line"><a 
name="l00039"></a><span class
 ="lineno">   39</span>&#160;<span class="keyword">namespace </span><a 
class="code" href="namespaceprocess.html">process</a> {</div><div 
class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span 
class="keyword">namespace </span><a class="code" 
href="namespaceinternal.html">internal</a> {</div><div class="line"><a 
name="l00041"></a><span class="lineno">   41</span>&#160;</div><div 
class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span 
class="comment">// NOTE: We are expecting that components of `argv` that need 
to be quoted</span></div><div class="line"><a name="l00043"></a><span 
class="lineno">   43</span>&#160;<span class="comment">// (for example, paths 
with spaces in them like `C:\&quot;Program 
Files&quot;\foo.exe`)</span></div><div class="line"><a name="l00044"></a><span 
class="lineno">   44</span>&#160;<span class="comment">// to have been already 
quoted correctly before we generate `command`.</span></div><div class="line"><a 
name="l0
 0045"></a><span class="lineno">   45</span>&#160;<span class="comment">// 
Incorrectly-quoted command arguments will probably lead the child 
process</span></div><div class="line"><a name="l00046"></a><span 
class="lineno">   46</span>&#160;<span class="comment">// to terminate with an 
error. See also NOTE on `process::subprocess`.</span></div><div class="line"><a 
name="l00047"></a><span class="lineno"><a class="line" 
href="namespaceprocess_1_1internal.html#a32020f2bbbcc116f2e055e209b4b8ce7">   
47</a></span>&#160;<span class="keyword">inline</span> <a class="code" 
href="classTry.html">Try&lt;::internal::windows::ProcessData&gt;</a> <a 
class="code" 
href="namespaceprocess_1_1internal.html#a32020f2bbbcc116f2e055e209b4b8ce7">createChildProcess</a>(</div><div
 class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    
<span class="keyword">const</span> std::string&amp; <a class="code" 
href="namespacepath.html">path</a>,</div><div class="line"><a 
name="l00049"></a><span clas
 s="lineno">   49</span>&#160;    <span class="keyword">const</span> 
std::vector&lt;std::string&gt;&amp; argv,</div><div class="line"><a 
name="l00050"></a><span class="lineno">   50</span>&#160;    <span 
class="keyword">const</span> <a class="code" 
href="classOption.html">Option</a>&lt;std::map&lt;std::string, 
std::string&gt;&gt;&amp; <a class="code" 
href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div
 class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    
<span class="keyword">const</span> 
std::vector&lt;Subprocess::ParentHook&gt;&amp; parent_hooks,</div><div 
class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    
<span class="keyword">const</span> <a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html">InputFileDescriptors</a>&amp;
 stdinfds,</div><div class="line"><a name="l00053"></a><span class="lineno">   
53</span>&#160;    <span class="keyword">const<
 /span> <a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html">OutputFileDescriptors</a>&amp;
 stdoutfds,</div><div class="line"><a name="l00054"></a><span class="lineno">   
54</span>&#160;    <span class="keyword">const</span> <a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html">OutputFileDescriptors</a>&amp;
 stderrfds,</div><div class="line"><a name="l00055"></a><span class="lineno">   
55</span>&#160;    <span class="keyword">const</span> 
std::vector&lt;int_fd&gt;&amp; whitelist_fds = {})</div><div class="line"><a 
name="l00056"></a><span class="lineno">   56</span>&#160;{</div><div 
class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  
<span class="keyword">const</span> std::array&lt;int_fd, 3&gt; fds{</div><div 
class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    
stdinfds.<a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html#a0a3f315345ef7b7ee
 6f3f1d4d337854d">read</a>, stdoutfds.<a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html#a5dabb8e3008efd61ce42478f260b54ac">write</a>,
 stderrfds.<a class="code" 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html#a5dabb8e3008efd61ce42478f260b54ac">write</a>};</div><div
 class="line"><a name="l00059"></a><span class="lineno">   
59</span>&#160;</div><div class="line"><a name="l00060"></a><span 
class="lineno">   60</span>&#160;  <a class="code" 
href="classTry.html">Try&lt;::internal::windows::ProcessData&gt;</a> 
process_data =</div><div class="line"><a name="l00061"></a><span 
class="lineno">   61</span>&#160;    <a class="code" 
href="namespaceinternal_1_1windows.html#a039d5edd816cadff59dd60549c70aa41">::internal::windows::create_process</a>(</div><div
 class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      
  path,</div><div class="line"><a name="l00063"></a><span class="lineno">   
63</span>&#160;        argv,</di
 v><div class="line"><a name="l00064"></a><span class="lineno">   
64</span>&#160;        <a class="code" 
href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div
 class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;      
  <span class="keyword">true</span>, <span class="comment">// Create 
suspended.</span></div><div class="line"><a name="l00066"></a><span 
class="lineno">   66</span>&#160;        fds,</div><div class="line"><a 
name="l00067"></a><span class="lineno">   67</span>&#160;        
whitelist_fds);</div><div class="line"><a name="l00068"></a><span 
class="lineno">   68</span>&#160;</div><div class="line"><a 
name="l00069"></a><span class="lineno">   69</span>&#160;  <span 
class="comment">// Close the child-ends of the file descriptors that are 
created</span></div><div class="line"><a name="l00070"></a><span 
class="lineno">   70</span>&#160;  <span class="comment">// by this 
function.</span></div><div class="
 line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span 
class="keywordflow">foreach</span> (<span class="keyword">const</span> <a 
class="code" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a>&amp; fd, 
fds) {</div><div class="line"><a name="l00072"></a><span class="lineno">   
72</span>&#160;    <span class="keywordflow">if</span> (fd.is_valid()) 
{</div><div class="line"><a name="l00073"></a><span class="lineno">   
73</span>&#160;      <a class="code" 
href="classTry.html">Try&lt;Nothing&gt;</a> result = <a class="code" 
href="namespaceos.html#a8df77ec6d6b8d32d9b287a41bc74cfdc">os::close</a>(fd);</div><div
 class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;      
<span class="keywordflow">if</span> (result.<a class="code" 
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) 
{</div><div class="line"><a name="l00075"></a><span class="lineno">   
75</span>&#160;        <span class="keywordflow">return</span> <a cla
 ss="code" href="classError.html">Error</a>(result.<a class="code" 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div 
class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;      
}</div><div class="line"><a name="l00077"></a><span class="lineno">   
77</span>&#160;    }</div><div class="line"><a name="l00078"></a><span 
class="lineno">   78</span>&#160;  }</div><div class="line"><a 
name="l00079"></a><span class="lineno">   79</span>&#160;</div><div 
class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  
<span class="keywordflow">if</span> (process_data.<a class="code" 
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) 
{</div><div class="line"><a name="l00081"></a><span class="lineno">   
81</span>&#160;    <span class="keywordflow">return</span> <a class="code" 
href="classError.html">Error</a>(process_data.<a class="code" 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div 
clas
 s="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  
}</div><div class="line"><a name="l00083"></a><span class="lineno">   
83</span>&#160;</div><div class="line"><a name="l00084"></a><span 
class="lineno">   84</span>&#160;  <span class="comment">// Run the parent 
hooks.</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 
  85</span>&#160;  <span class="keyword">const</span> <a class="code" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a>
 pid = process_data-&gt;<a class="code" 
href="structinternal_1_1windows_1_1ProcessData.html#a65a4a4aba5450087363bfffdb30eea25">pid</a>;</div><div
 class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  
<span class="keywordflow">foreach</span> (<span class="keyword">const</span> <a 
class="code" 
href="structprocess_1_1Subprocess_1_1ParentHook.html">Subprocess::ParentHook</a>&amp;
 hook, parent_hooks) {</div><div class="line"><a name="l00087"></
 a><span class="lineno">   87</span>&#160;    <a class="code" 
href="classTry.html">Try&lt;Nothing&gt;</a> parent_setup = hook.<a class="code" 
href="structprocess_1_1Subprocess_1_1ParentHook.html#aaf9ff141314d619cd65cd8ec9320fb7d">parent_setup</a>(pid);</div><div
 class="line"><a name="l00088"></a><span class="lineno">   
88</span>&#160;</div><div class="line"><a name="l00089"></a><span 
class="lineno">   89</span>&#160;    <span class="comment">// If the hook 
callback fails, we shouldn&#39;t proceed with the</span></div><div 
class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    
<span class="comment">// execution and hence the child process should be 
killed.</span></div><div class="line"><a name="l00091"></a><span 
class="lineno">   91</span>&#160;    <span class="keywordflow">if</span> 
(parent_setup.<a class="code" 
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) 
{</div><div class="line"><a name="l00092"></a><span class="lineno">   
92</span>&#1
 60;      <span class="comment">// Attempt to kill the process. Since it is 
still in suspended state, we</span></div><div class="line"><a 
name="l00093"></a><span class="lineno">   93</span>&#160;      <span 
class="comment">// do not need to kill any descendents. We also can&#39;t use 
`os::kill_job`</span></div><div class="line"><a name="l00094"></a><span 
class="lineno">   94</span>&#160;      <span class="comment">// because this 
process is not in a Job Object unless one of the parent</span></div><div 
class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      
<span class="comment">// hooks added it.</span></div><div class="line"><a 
name="l00096"></a><span class="lineno">   96</span>&#160;      
::TerminateProcess(process_data-&gt;<a class="code" 
href="structinternal_1_1windows_1_1ProcessData.html#a96c76121644bd430e9ca67cf57636c0d">process_handle</a>.<a
 class="code" 
href="classSharedHandle.html#a800385e17e17cb826147968e748fd8fa">get_handle</a>(),
 1);</div><div class
 ="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div 
class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      
<span class="keywordflow">return</span> <a class="code" 
href="classError.html">Error</a>(</div><div class="line"><a 
name="l00099"></a><span class="lineno">   99</span>&#160;          <span 
class="stringliteral">&quot;Failed to execute Parent Hook in child 
&#39;&quot;</span> + <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(pid) 
+</div><div class="line"><a name="l00100"></a><span class="lineno">  
100</span>&#160;          <span class="stringliteral">&quot;&#39; with command 
&#39;&quot;</span> + <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(argv) + 
<span class="stringliteral">&quot;&#39;: &quot;</span> +</div><div 
class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;       
   parent_setup.<a class="code" href="classTry.html#aec4a
 11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a 
name="l00102"></a><span class="lineno">  102</span>&#160;    }</div><div 
class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  
}</div><div class="line"><a name="l00104"></a><span class="lineno">  
104</span>&#160;</div><div class="line"><a name="l00105"></a><span 
class="lineno">  105</span>&#160;  <span class="comment">// Start child 
process.</span></div><div class="line"><a name="l00106"></a><span 
class="lineno">  106</span>&#160;  <span class="keywordflow">if</span> 
(::ResumeThread(process_data-&gt;<a class="code" 
href="structinternal_1_1windows_1_1ProcessData.html#a7160cf48fc6e70d9390233b246b93bee">thread_handle</a>.<a
 class="code" 
href="classSharedHandle.html#a800385e17e17cb826147968e748fd8fa">get_handle</a>())
 == -1) {</div><div class="line"><a name="l00107"></a><span class="lineno">  
107</span>&#160;    <span class="keywordflow">return</span> <a class="code" 
href="classWindowsError.html">
 WindowsError</a>(</div><div class="line"><a name="l00108"></a><span 
class="lineno">  108</span>&#160;        <span 
class="stringliteral">&quot;Failed to resume child process with command 
&#39;&quot;</span> +</div><div class="line"><a name="l00109"></a><span 
class="lineno">  109</span>&#160;        <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(argv) + 
<span class="stringliteral">&quot;&#39;&quot;</span>);</div><div 
class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  
}</div><div class="line"><a name="l00111"></a><span class="lineno">  
111</span>&#160;</div><div class="line"><a name="l00112"></a><span 
class="lineno">  112</span>&#160;  <span class="keywordflow">return</span> 
process_data;</div><div class="line"><a name="l00113"></a><span class="lineno"> 
 113</span>&#160;}</div><div class="line"><a name="l00114"></a><span 
class="lineno">  114</span>&#160;</div><div class="line"><a 
name="l00115"></a><span class="lineno">  1
 15</span>&#160;}  <span class="comment">// namespace internal 
{</span></div><div class="line"><a name="l00116"></a><span class="lineno">  
116</span>&#160;}  <span class="comment">// namespace process 
{</span></div><div class="line"><a name="l00117"></a><span class="lineno">  
117</span>&#160;</div><div class="line"><a name="l00118"></a><span 
class="lineno">  118</span>&#160;<span class="preprocessor">#endif // 
__PROCESS_WINDOWS_SUBPROCESS_HPP__</span></div><div class="ttc" 
id="namespacepath_html"><div class="ttname"><a 
href="namespacepath.html">path</a></div><div class="ttdef"><b>Definition:</b> 
path.hpp:26</div></div>
 <div class="ttc" id="classError_html"><div class="ttname"><a 
href="classError.html">Error</a></div><div class="ttdef"><b>Definition:</b> 
errorbase.hpp:36</div></div>
 <div class="ttc" id="classOption_html"><div class="ttname"><a 
href="classOption.html">Option</a></div><div class="ttdef"><b>Definition:</b> 
option.hpp:28</div></div>
+<div class="ttc" 
id="namespaceinternal_1_1windows_html_a039d5edd816cadff59dd60549c70aa41"><div 
class="ttname"><a 
href="namespaceinternal_1_1windows.html#a039d5edd816cadff59dd60549c70aa41">internal::windows::create_process</a></div><div
 class="ttdeci">Try&lt; ProcessData &gt; create_process(const std::string 
&amp;command, const std::vector&lt; std::string &gt; &amp;argv, const 
Option&lt; std::map&lt; std::string, std::string &gt;&gt; &amp;environment, 
const bool create_suspended=false, const Option&lt; std::array&lt; int_fd, 3 
&gt;&gt; &amp;pipes=None(), const std::vector&lt; int_fd &gt; 
&amp;whitelist_fds={})</div><div class="ttdef"><b>Definition:</b> 
shell.hpp:240</div></div>
 <div class="ttc" 
id="classSharedHandle_html_a800385e17e17cb826147968e748fd8fa"><div 
class="ttname"><a 
href="classSharedHandle.html#a800385e17e17cb826147968e748fd8fa">SharedHandle::get_handle</a></div><div
 class="ttdeci">HANDLE get_handle() const </div><div 
class="ttdef"><b>Definition:</b> windows.hpp:90</div></div>
 <div class="ttc" id="classTry_html"><div class="ttname"><a 
href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> 
check.hpp:33</div></div>
 <div class="ttc" id="subprocess_8hpp_html"><div class="ttname"><a 
href="subprocess_8hpp.html">subprocess.hpp</a></div></div>
@@ -64,6 +65,7 @@
 <div class="ttc" 
id="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors_html_a0a3f315345ef7b7ee6f3f1d4d337854d"><div
 class="ttname"><a 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html#a0a3f315345ef7b7ee6f3f1d4d337854d">process::Subprocess::IO::InputFileDescriptors::read</a></div><div
 class="ttdeci">int_fd read</div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:75</div></div>
 <div class="ttc" 
id="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors_html"><div 
class="ttname"><a 
href="structprocess_1_1Subprocess_1_1IO_1_1OutputFileDescriptors.html">process::Subprocess::IO::OutputFileDescriptors</a></div><div
 class="ttdoc">For output file descriptors a child writes to the write file 
descriptor and a parent may read from th...</div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:88</div></div>
 <div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html"><div 
class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">windows.hpp</a></div></div>
+<div class="ttc" 
id="namespaceprocess_1_1internal_html_a32020f2bbbcc116f2e055e209b4b8ce7"><div 
class="ttname"><a 
href="namespaceprocess_1_1internal.html#a32020f2bbbcc116f2e055e209b4b8ce7">process::internal::createChildProcess</a></div><div
 class="ttdeci">Try&lt;::internal::windows::ProcessData &gt; 
createChildProcess(const std::string &amp;path, const std::vector&lt; 
std::string &gt; &amp;argv, const Option&lt; std::map&lt; std::string, 
std::string &gt;&gt; &amp;environment, const std::vector&lt; 
Subprocess::ParentHook &gt; &amp;parent_hooks, const InputFileDescriptors 
&amp;stdinfds, const OutputFileDescriptors &amp;stdoutfds, const 
OutputFileDescriptors &amp;stderrfds, const std::vector&lt; int_fd &gt; 
&amp;whitelist_fds={})</div><div class="ttdef"><b>Definition:</b> 
subprocess_windows.hpp:47</div></div>
 <div class="ttc" id="close_8hpp_html"><div class="ttname"><a 
href="close_8hpp.html">close.hpp</a></div></div>
 <div class="ttc" 
id="namespacemesos_1_1internal_1_1tests_html_a1396c5e3b0a179220de2792d74770ec2"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">mesos::internal::tests::environment</a></div><div
 class="ttdeci">Environment * environment</div></div>
 <div class="ttc" 
id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_ab03ced250ed239bc3b50b669493997f9"><div
 class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a></div><div
 class="ttdeci">DWORD pid_t</div><div class="ttdef"><b>Definition:</b> 
windows.hpp:181</div></div>
@@ -71,12 +73,10 @@
 <div class="ttc" id="namespaceos_html_a8df77ec6d6b8d32d9b287a41bc74cfdc"><div 
class="ttname"><a 
href="namespaceos.html#a8df77ec6d6b8d32d9b287a41bc74cfdc">os::close</a></div><div
 class="ttdeci">Try&lt; Nothing &gt; close(int fd)</div><div 
class="ttdef"><b>Definition:</b> close.hpp:24</div></div>
 <div class="ttc" 
id="structinternal_1_1windows_1_1ProcessData_html_a96c76121644bd430e9ca67cf57636c0d"><div
 class="ttname"><a 
href="structinternal_1_1windows_1_1ProcessData.html#a96c76121644bd430e9ca67cf57636c0d">internal::windows::ProcessData::process_handle</a></div><div
 class="ttdeci">SharedHandle process_handle</div><div 
class="ttdef"><b>Definition:</b> shell.hpp:214</div></div>
 <div class="ttc" 
id="structinternal_1_1windows_1_1ProcessData_html_a7160cf48fc6e70d9390233b246b93bee"><div
 class="ttname"><a 
href="structinternal_1_1windows_1_1ProcessData.html#a7160cf48fc6e70d9390233b246b93bee">internal::windows::ProcessData::thread_handle</a></div><div
 class="ttdeci">SharedHandle thread_handle</div><div 
class="ttdef"><b>Definition:</b> shell.hpp:215</div></div>
-<div class="ttc" 
id="namespaceinternal_1_1windows_html_aaaa193083fd4f24a2e92e57ee8a8319f"><div 
class="ttname"><a 
href="namespaceinternal_1_1windows.html#aaaa193083fd4f24a2e92e57ee8a8319f">internal::windows::create_process</a></div><div
 class="ttdeci">Try&lt; ProcessData &gt; create_process(const std::string 
&amp;command, const std::vector&lt; std::string &gt; &amp;argv, const 
Option&lt; std::map&lt; std::string, std::string &gt;&gt; &amp;environment, 
const bool create_suspended=false, const Option&lt; std::array&lt; int_fd, 3 
&gt;&gt; &amp;pipes=None())</div><div class="ttdef"><b>Definition:</b> 
shell.hpp:240</div></div>
 <div class="ttc" 
id="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors_html"><div 
class="ttname"><a 
href="structprocess_1_1Subprocess_1_1IO_1_1InputFileDescriptors.html">process::Subprocess::IO::InputFileDescriptors</a></div><div
 class="ttdoc">For input file descriptors a child reads from the read file 
descriptor and a parent may write to the ...</div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:73</div></div>
 <div class="ttc" id="option_8hpp_html"><div class="ttname"><a 
href="option_8hpp.html">option.hpp</a></div></div>
 <div class="ttc" id="classTry_html_aec4a11ddd3c036e889d90b7eb6258ba7"><div 
class="ttname"><a 
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">Try::error</a></div><div 
class="ttdeci">static Try error(const E &amp;e)</div><div 
class="ttdef"><b>Definition:</b> try.hpp:42</div></div>
-<div class="ttc" 
id="namespaceprocess_1_1internal_html_af291711ccd03a2e0608df1c32cc28871"><div 
class="ttname"><a 
href="namespaceprocess_1_1internal.html#af291711ccd03a2e0608df1c32cc28871">process::internal::createChildProcess</a></div><div
 class="ttdeci">Try&lt;::internal::windows::ProcessData &gt; 
createChildProcess(const std::string &amp;path, const std::vector&lt; 
std::string &gt; &amp;argv, const Option&lt; std::map&lt; std::string, 
std::string &gt;&gt; &amp;environment, const std::vector&lt; 
Subprocess::ParentHook &gt; &amp;parent_hooks, const InputFileDescriptors 
&amp;stdinfds, const OutputFileDescriptors &amp;stdoutfds, const 
OutputFileDescriptors &amp;stderrfds)</div><div 
class="ttdef"><b>Definition:</b> subprocess_windows.hpp:47</div></div>
-<div class="ttc" 
id="structprocess_1_1Subprocess_1_1ParentHook_html_aaf9ff141314d619cd65cd8ec9320fb7d"><div
 class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html#aaf9ff141314d619cd65cd8ec9320fb7d">process::Subprocess::ParentHook::parent_setup</a></div><div
 class="ttdeci">const lambda::function&lt; Try&lt; Nothing &gt;pid_t)&gt; 
parent_setup</div><div class="ttdoc">The callback that must be specified for 
execution after the child has been cloned, but before it starts executing the 
new process. </div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:162</div></div>
+<div class="ttc" 
id="structprocess_1_1Subprocess_1_1ParentHook_html_aaf9ff141314d619cd65cd8ec9320fb7d"><div
 class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html#aaf9ff141314d619cd65cd8ec9320fb7d">process::Subprocess::ParentHook::parent_setup</a></div><div
 class="ttdeci">const lambda::function&lt; Try&lt; Nothing &gt;pid_t)&gt; 
parent_setup</div><div class="ttdoc">The callback that must be specified for 
execution after the child has been cloned, but before it starts executing the 
new process. </div><div class="ttdef"><b>Definition:</b> 
subprocess.hpp:163</div></div>
 <div class="ttc" id="foreach_8hpp_html"><div class="ttname"><a 
href="foreach_8hpp.html">foreach.hpp</a></div></div>
 <div class="ttc" id="error_8hpp_html"><div class="ttname"><a 
href="error_8hpp.html">error.hpp</a></div></div>
 <div class="ttc" id="namespaceinternal_html"><div class="ttname"><a 
href="namespaceinternal.html">internal</a></div><div 
class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
@@ -86,7 +86,7 @@
 <div class="ttc" id="hashset_8hpp_html"><div class="ttname"><a 
href="hashset_8hpp.html">hashset.hpp</a></div></div>
 <div class="ttc" 
id="structinternal_1_1windows_1_1ProcessData_html_a65a4a4aba5450087363bfffdb30eea25"><div
 class="ttname"><a 
href="structinternal_1_1windows_1_1ProcessData.html#a65a4a4aba5450087363bfffdb30eea25">internal::windows::ProcessData::pid</a></div><div
 class="ttdeci">pid_t pid</div><div class="ttdef"><b>Definition:</b> 
shell.hpp:216</div></div>
 <div class="ttc" id="shell_8hpp_html"><div class="ttname"><a 
href="shell_8hpp.html">shell.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1Subprocess_1_1ParentHook_html"><div 
class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html">process::Subprocess::ParentHook</a></div><div
 class="ttdoc">A hook can be passed to a subprocess call. </div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:151</div></div>
+<div class="ttc" id="structprocess_1_1Subprocess_1_1ParentHook_html"><div 
class="ttname"><a 
href="structprocess_1_1Subprocess_1_1ParentHook.html">process::Subprocess::ParentHook</a></div><div
 class="ttdoc">A hook can be passed to a subprocess call. </div><div 
class="ttdef"><b>Definition:</b> subprocess.hpp:152</div></div>
 <div class="ttc" id="int__fd_8hpp_html_aea4dbda01c90455f158ffa9b924c2f07"><div 
class="ttname"><a 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a></div><div 
class="ttdeci">int int_fd</div><div class="ttdef"><b>Definition:</b> 
int_fd.hpp:35</div></div>
 <div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div 
class="ttname"><a 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div
 class="ttdeci">std::string stringify(int flags)</div></div>
 </div><!-- fragment --></div><!-- contents -->

Reply via email to