You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/06/14 04:22:15 UTC
[06/14] mesos-site git commit: Updated the website built from mesos
SHA: f8c8c35.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/posix_2os_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/posix_2os_8hpp_source.html b/content/api/latest/c++/posix_2os_8hpp_source.html
index ab0268d..767ea8e 100644
--- a/content/api/latest/c++/posix_2os_8hpp_source.html
+++ b/content/api/latest/c++/posix_2os_8hpp_source.html
@@ -131,7 +131,7 @@
<div class="ttc" id="namespacens_html"><div class="ttname"><a href="namespacens.html">ns</a></div><div class="ttdef"><b>Definition:</b> ns.hpp:81</div></div>
<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="namespaceos_html_afe5b6cbeb92f2df4f8f6211d8b0c8be4"><div class="ttname"><a href="namespaceos.html#afe5b6cbeb92f2df4f8f6211d8b0c8be4">os::eraseenv</a></div><div class="ttdeci">void eraseenv(const std::string &key)</div><div class="ttdef"><b>Definition:</b> os.hpp:181</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 &command, const std::vector< std::string > &argv, const std::map< std::string, std::string > &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 &command, const std::vector< std::string > &argv, const std::map< std::string, std::string > &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="structVersion_html"><div class="ttname"><a href="structVersion.html">Version</a></div><div class="ttdef"><b>Definition:</b> version.hpp:41</div></div>
<div class="ttc" id="freebsd_8hpp_html"><div class="ttname"><a href="freebsd_8hpp.html">freebsd.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/posix_2shell_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/posix_2shell_8hpp_source.html b/content/api/latest/c++/posix_2shell_8hpp_source.html
index d61c48e..07512cf 100644
--- a/content/api/latest/c++/posix_2shell_8hpp_source.html
+++ b/content/api/latest/c++/posix_2shell_8hpp_source.html
@@ -79,7 +79,7 @@
<div class="ttc" id="structNone_html"><div class="ttname"><a href="structNone.html">None</a></div><div class="ttdef"><b>Definition:</b> none.hpp:27</div></div>
<div class="ttc" id="classTry_html_a0b98f95163b8a38daafd1651b043a276"><div class="ttname"><a href="classTry.html#a0b98f95163b8a38daafd1651b043a276">Try::isError</a></div><div class="ttdeci">bool isError() const </div><div class="ttdef"><b>Definition:</b> try.hpp:71</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_a1de77f208d0bc72cf79e7eb9a6b487c7"><div class="ttname"><a href="namespaceos.html#a1de77f208d0bc72cf79e7eb9a6b487c7">os::execvp</a></div><div class="ttdeci">int execvp(const std::string &command, const std::vector< std::string > &argv)</div><div class="ttdef"><b>Definition:</b> shell.hpp:536</div></div>
+<div class="ttc" id="namespaceos_html_a1de77f208d0bc72cf79e7eb9a6b487c7"><div class="ttname"><a href="namespaceos.html#a1de77f208d0bc72cf79e7eb9a6b487c7">os::execvp</a></div><div class="ttdeci">int execvp(const std::string &command, const std::vector< std::string > &argv)</div><div class="ttdef"><b>Definition:</b> shell.hpp:580</div></div>
<div class="ttc" id="namespacestrings_1_1internal_html_a870e2db270d980f83de20525ec414d2a"><div class="ttname"><a href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">strings::internal::format</a></div><div class="ttdeci">Try< std::string > format(const std::string &fmt, va_list args)</div><div class="ttdef"><b>Definition:</b> format.hpp:68</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="namespaceos_1_1Shell_html_acfe16ef2b1146ad49a8651c0a457ce46"><div class="ttname"><a href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">os::Shell::name</a></div><div class="ttdeci">constexpr const char * name</div><div class="ttdef"><b>Definition:</b> shell.hpp:43</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp.html b/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp.html
index ea2ec57..3ea55dc 100644
--- a/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp.html
+++ b/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp.html
@@ -70,6 +70,7 @@
<code>#include <<a class="el" href="option_8hpp_source.html">stout/option.hpp</a>></code><br />
<code>#include <<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>></code><br />
<code>#include "<a class="el" href="src_2slave_2flags_8hpp_source.html">slave/flags.hpp</a>"</code><br />
+<code>#include "<a class="el" href="src_2slave_2containerizer_2containerizer_8hpp_source.html">slave/containerizer/containerizer.hpp</a>"</code><br />
</div>
<p><a href="slave_2containerizer_2mesos_2launcher_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp_source.html b/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp_source.html
index 88f6c41..dee9214 100644
--- a/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp_source.html
+++ b/content/api/latest/c++/slave_2containerizer_2mesos_2launcher_8hpp_source.html
@@ -52,15 +52,17 @@
<div class="title">launcher.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="slave_2containerizer_2mesos_2launcher_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line">
<a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <spa
n class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __LAUNCHER_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __LAUNCHER_HPP__</span></div><di
v class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <sys/types.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <map></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mes
os.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2slave_2isolator_8hpp.html">mesos/slave/isolator.hpp</a>></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="subprocess_8hpp.html">process/subprocess.hpp</a>></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span clas
s="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2flags_8hpp.html">stout/flags.hpp</a>></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="hashmap_8hpp.html">stout/hashmap.hpp</a>></span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <<a class="code" href="hashset_8hpp.html">stout/hashset.hpp</a>></span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <<a class="code" href="lambda_8hpp.html">stout/lambda.hpp</a>></span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>
60;<span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="src_2slave_2flags_8hpp.html">slave/flags.hpp</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>slave {</div><div class="line
"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1Launcher.html"> 46</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html">Launcher</a></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a71741e35eb44f5ca5734af8d945b0e8d"> 49</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a71741e35eb44f5ca5734af8d945b0e8d">~Launcher</a>() {}</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div
class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// Recover the necessary state for each container listed in state.</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// Return the set of containers that are known to the launcher but</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// not known to the slave (a.k.a. orphans).</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<hashset<ContainerID></a>> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a93e8c38b7a4d497b37ce82d9108fedb4">recover</a>(</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">const</span> std::vector<m
esos::slave::ContainerState>& states) = 0;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// Fork a new process in the containerized context. The child will</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// exec the binary at the given path with the given argv, flags and</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// environment. The I/O of the child will be redirected according to</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// the specified I/O descriptors. The parentHooks will be executed</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// in the parent process befo
re the child execs. The parent will return</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// the child's pid if the fork is successful.</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">virtual</span> <a class="code" href="classTry.html">Try<pid_t></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#af6c5246e61f3959d393d06f4abf23b45">fork</a>(</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">const</span> ContainerID& containerId,</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">const</span> std::string& <a class="code" href="namespacepath.html">path</a>,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">const</span> std::vector<s
td::string>& argv,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a>& in,</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a>& out,</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a>& err,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> <a class="code" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a>* <a class="code" href="namespaceflags.html">flags</a>,</div><div class="line"><a name="l00071"></a><span c
lass="lineno"> 71</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option</a><std::map<std::string, std::string>>& <a class="code" href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& enterNamespaces,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& cloneNamespaces) = 0;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Kill all processes in the containerized context.</span></div><div class="line"><a name="l0
0076"></a><span class="lineno"> 76</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#adf9cd543b7aaf0b999a2a00aa31c6175">destroy</a>(<span class="keyword">const</span> ContainerID& containerId) = 0;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Return ContainerStatus information about container.</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// Currently only returns Executor PID info.</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<ContainerStatus></a> <a clas
s="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a45a6d7403aeb433663419923a9956bc0">status</a>(</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">const</span> ContainerID& containerId) = 0;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">// Launcher suitable for any POSIX compliant system. Uses process</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment">// groups and sessions to track processes in a container. POSIX states</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">// that
process groups cannot migrate between sessions so all</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment">// processes for a container will be contained in a session.</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">// Also suitable for Windows, which uses job objects to obtain the</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">// same functionality. Everything is coordinated through `Subprocess`.</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html"> 91</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html">SubprocessLauncher</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1internal_1_1slave
_1_1Launcher.html">Launcher</a></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<Launcher*></a> <a class="code" href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">create</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a>& <a class="code" href="namespaceflags.html">flags</a>);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a1d03ee6b67829cfdedf4930208d30976"> 96</a></span>  <span class="keyword">vi
rtual</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a1d03ee6b67829cfdedf4930208d30976">~SubprocessLauncher</a>() {}</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<hashset<ContainerID></a>> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a93e8c38b7a4d497b37ce82d9108fedb4">recover</a>(</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">const</span> std::vector<mesos::slave::ContainerState>& states);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">virtual</span> <a class="code" h
ref="classTry.html">Try<pid_t></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#af6c5246e61f3959d393d06f4abf23b45">fork</a>(</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">const</span> ContainerID& containerId,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">const</span> std::string& <a class="code" href="namespacepath.html">path</a>,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">const</span> std::vector<std::string>& argv,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a>& in,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="key
word">const</span> <a class="code" href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a>& out,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a>& err,</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">const</span> <a class="code" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a>* flags,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option</a><std::map<std::string, std::string>>& <a class="code" href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywor
d">const</span> <a class="code" href="classOption.html">Option<int></a>& enterNamespaces,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& cloneNamespaces);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#adf9cd543b7aaf0b999a2a00aa31c6175">destroy</a>(<span class="keyword">const</span> ContainerID& containerId);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">virtual</span> <a cla
ss="code" href="classprocess_1_1Future.html">process::Future<ContainerStatus></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a45a6d7403aeb433663419923a9956bc0">status</a>(</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">const</span> ContainerID& containerId);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#af010735837a761ba49b0ff6fb0e50ff1"> 119</a></span>  <a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#af010735837a761ba49b0ff6fb0e50ff1">SubprocessLauncher</a>() {}</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>
60;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// The 'pid' is the process id of the first process and also the</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// process group id and session id.</span></div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a9441321f40e25cb57df4e05751dbcbb5"> 123</a></span>  <a class="code" href="classhashmap.html">hashmap<ContainerID, pid_t></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a9441321f40e25cb57df4e05751dbcbb5">pids</a>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> };</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span
> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> } <span class="comment">// namespace slave {</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#endif // __LAUNCHER_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="classmesos_1_1internal_1_1slave_1_1Launcher_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html">mesos::internal::slave::Launcher</a></div><div class="ttdef"><b>Definition:</b> launcher.hpp:46</div></div>
+<a href="slave_2containerizer_2mesos_2launcher_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line">
<a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <spa
n class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __LAUNCHER_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __LAUNCHER_HPP__</span></div><di
v class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <sys/types.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <map></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mes
os.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2slave_2isolator_8hpp.html">mesos/slave/isolator.hpp</a>></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="subprocess_8hpp.html">process/subprocess.hpp</a>></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span clas
s="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2flags_8hpp.html">stout/flags.hpp</a>></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="hashmap_8hpp.html">stout/hashmap.hpp</a>></span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <<a class="code" href="hashset_8hpp.html">stout/hashset.hpp</a>></span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <<a class="code" href="lambda_8hpp.html">stout/lambda.hpp</a>></span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>
60;<span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="src_2slave_2flags_8hpp.html">slave/flags.hpp</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include "<a class="code" href="src_2slave_2containerizer_2containerizer_8hpp.html">slave/containerizer/containerizer.hpp</a>"</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>
60;<span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">namespace </span>slave {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1Launcher.html"> 47</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html">Launcher</a></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a71741e35eb44f5ca5734af8d945b0e8d"> 50</a></span>  <
span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a71741e35eb44f5ca5734af8d945b0e8d">~Launcher</a>() {}</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// Recover the necessary state for each container listed in state.</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Return the set of containers that are known to the launcher but</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// not known to the slave (a.k.a. orphans).</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<hashset<ContainerID></a>> <a cl
ass="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a93e8c38b7a4d497b37ce82d9108fedb4">recover</a>(</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">const</span> std::vector<mesos::slave::ContainerState>& states) = 0;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// Fork a new process in the containerized context. The child will</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// exec the binary at the given path with the given argv, flags and</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// environment. The I/O of the child will be redirected according to</span></div><div class="line"><a name="l00061"></a><span class="lineno
"> 61</span>  <span class="comment">// the specified I/O descriptors. The parentHooks will be executed</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// in the parent process before the child execs. The parent will return</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// the child's pid if the fork is successful.</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">virtual</span> <a class="code" href="classTry.html">Try<pid_t></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#acb021e7df5f9a5cc902de09e2da7b1df">fork</a>(</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">const</span> ContainerID& containerId,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#
160; <span class="keyword">const</span> std::string& <a class="code" href="namespacepath.html">path</a>,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> std::vector<std::string>& argv,</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">const</span> <a class="code" href="structmesos_1_1slave_1_1ContainerIO.html">mesos::slave::ContainerIO</a>& containerIO,</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <a class="code" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a>* <a class="code" href="namespaceflags.html">flags</a>,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option</a><std::map<std::string, std::string>>& <
a class="code" href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& enterNamespaces,</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& cloneNamespaces,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">const</span> std::vector<int_fd>& whitelistFds) = 0;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Kill all processes in the containerized context.</span></div><div class="line"><a name="l00076"></a
><span class="lineno"> 76</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#adf9cd543b7aaf0b999a2a00aa31c6175">destroy</a>(<span class="keyword">const</span> ContainerID& containerId) = 0;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Return ContainerStatus information about container.</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// Currently only returns Executor PID info.</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<ContainerStatus></a> <a class="code"
href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a45a6d7403aeb433663419923a9956bc0">status</a>(</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">const</span> ContainerID& containerId) = 0;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">// Launcher suitable for any POSIX compliant system. Uses process</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment">// groups and sessions to track processes in a container. POSIX states</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">// that process
groups cannot migrate between sessions so all</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment">// processes for a container will be contained in a session.</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">// Also suitable for Windows, which uses job objects to obtain the</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">// same functionality. Everything is coordinated through `Subprocess`.</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html"> 91</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html">SubprocessLauncher</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launc
her.html">Launcher</a></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<Launcher*></a> <a class="code" href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">create</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a>& <a class="code" href="namespaceflags.html">flags</a>);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a1d03ee6b67829cfdedf4930208d30976"> 96</a></span>  <span class="keyword">virtual</sp
an> <a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a1d03ee6b67829cfdedf4930208d30976">~SubprocessLauncher</a>() {}</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<hashset<ContainerID></a>> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a93e8c38b7a4d497b37ce82d9108fedb4">recover</a>(</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">const</span> std::vector<mesos::slave::ContainerState>& states);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">virtual</span> <a class="code" href="clas
sTry.html">Try<pid_t></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#acb021e7df5f9a5cc902de09e2da7b1df">fork</a>(</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">const</span> ContainerID& containerId,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">const</span> std::string& <a class="code" href="namespacepath.html">path</a>,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">const</span> std::vector<std::string>& argv,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">const</span> <a class="code" href="structmesos_1_1slave_1_1ContainerIO.html">mesos::slave::ContainerIO</a>& containerIO,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class
="keyword">const</span> <a class="code" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a>* flags,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option</a><std::map<std::string, std::string>>& <a class="code" href="namespacemesos_1_1internal_1_1tests.html#a1396c5e3b0a179220de2792d74770ec2">environment</a>,</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& enterNamespaces,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<int></a>& cloneNamespaces,</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">const</span> std::vect
or<int_fd>& whitelistFds);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#adf9cd543b7aaf0b999a2a00aa31c6175">destroy</a>(<span class="keyword">const</span> ContainerID& containerId);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<ContainerStatus></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a45a6d7403aeb433663419923a9956bc0">status</a>(</div><div class="line"><a name="l00115"></a><span class="lineno">
115</span>  <span class="keyword">const</span> ContainerID& containerId);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#af010735837a761ba49b0ff6fb0e50ff1"> 118</a></span>  <a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#af010735837a761ba49b0ff6fb0e50ff1">SubprocessLauncher</a>() {}</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// The 'pid' is the process id of the first process and also the</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>
0; <span class="comment">// process group id and session id.</span></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a9441321f40e25cb57df4e05751dbcbb5"> 122</a></span>  <a class="code" href="classhashmap.html">hashmap<ContainerID, pid_t></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a9441321f40e25cb57df4e05751dbcbb5">pids</a>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> };</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> } <span class="comment">// namespace slave {</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> } <span class="comment">// namespace internal
{</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#endif // __LAUNCHER_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="classmesos_1_1internal_1_1slave_1_1Launcher_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html">mesos::internal::slave::Launcher</a></div><div class="ttdef"><b>Definition:</b> launcher.hpp:47</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="classmesos_1_1internal_1_1slave_1_1Launcher_html_a93e8c38b7a4d497b37ce82d9108fedb4"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a93e8c38b7a4d497b37ce82d9108fedb4">mesos::internal::slave::Launcher::recover</a></div><div class="ttdeci">virtual process::Future< hashset< ContainerID > > recover(const std::vector< mesos::slave::ContainerState > &states)=0</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>
<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
<div class="ttc" id="include_2mesos_2slave_2isolator_8hpp_html"><div class="ttname"><a href="include_2mesos_2slave_2isolator_8hpp.html">isolator.hpp</a></div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher_html_af010735837a761ba49b0ff6fb0e50ff1"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#af010735837a761ba49b0ff6fb0e50ff1">mesos::internal::slave::SubprocessLauncher::SubprocessLauncher</a></div><div class="ttdeci">SubprocessLauncher()</div><div class="ttdef"><b>Definition:</b> launcher.hpp:119</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_acb021e7df5f9a5cc902de09e2da7b1df"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#acb021e7df5f9a5cc902de09e2da7b1df">mesos::internal::slave::Launcher::fork</a></div><div class="ttdeci">virtual Try< pid_t > fork(const ContainerID &containerId, const std::string &path, const std::vector< std::string > &argv, const mesos::slave::ContainerIO &containerIO, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces, const std::vector< int_fd > &whitelistFds)=0</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher_html_af010735837a761ba49b0ff6fb0e50ff1"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#af010735837a761ba49b0ff6fb0e50ff1">mesos::internal::slave::SubprocessLauncher::SubprocessLauncher</a></div><div class="ttdeci">SubprocessLauncher()</div><div class="ttdef"><b>Definition:</b> launcher.hpp:118</div></div>
+<div class="ttc" id="structmesos_1_1slave_1_1ContainerIO_html"><div class="ttname"><a href="structmesos_1_1slave_1_1ContainerIO.html">mesos::slave::ContainerIO</a></div><div class="ttdoc">An abstraction around the IO classes used to redirect stdin/stdout/stderr to/from a container by the ...</div><div class="ttdef"><b>Definition:</b> containerizer.hpp:37</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Flags_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Flags.html">mesos::internal::slave::Flags</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:39</div></div>
<div class="ttc" id="lambda_8hpp_html"><div class="ttname"><a href="lambda_8hpp.html">lambda.hpp</a></div></div>
<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap< ContainerID, pid_t ></a></div></div>
@@ -68,7 +70,6 @@
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher_html_a1d03ee6b67829cfdedf4930208d30976"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a1d03ee6b67829cfdedf4930208d30976">mesos::internal::slave::SubprocessLauncher::~SubprocessLauncher</a></div><div class="ttdeci">virtual ~SubprocessLauncher()</div><div class="ttdef"><b>Definition:</b> launcher.hpp:96</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_adf9cd543b7aaf0b999a2a00aa31c6175"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#adf9cd543b7aaf0b999a2a00aa31c6175">mesos::internal::slave::Launcher::destroy</a></div><div class="ttdeci">virtual process::Future< Nothing > destroy(const ContainerID &containerId)=0</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html">mesos::internal::slave::SubprocessLauncher</a></div><div class="ttdef"><b>Definition:</b> launcher.hpp:91</div></div>
-<div class="ttc" id="classprocess_1_1Subprocess_1_1IO_html"><div class="ttname"><a href="classprocess_1_1Subprocess_1_1IO.html">process::Subprocess::IO</a></div><div class="ttdoc">Describes how the I/O is redirected for stdin/stdout/stderr. </div><div class="ttdef"><b>Definition:</b> subprocess.hpp:61</div></div>
<div class="ttc" id="classflags_1_1FlagsBase_html"><div class="ttname"><a href="classflags_1_1FlagsBase.html">flags::FlagsBase</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:44</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="3rdparty_2stout_2include_2stout_2flags_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2flags_8hpp.html">flags.hpp</a></div></div>
@@ -77,14 +78,14 @@
<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>
<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.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="src_2slave_2containerizer_2containerizer_8hpp_html"><div class="ttname"><a href="src_2slave_2containerizer_2containerizer_8hpp.html">containerizer.hpp</a></div></div>
<div class="ttc" id="src_2slave_2flags_8hpp_html"><div class="ttname"><a href="src_2slave_2flags_8hpp.html">flags.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_a45a6d7403aeb433663419923a9956bc0"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a45a6d7403aeb433663419923a9956bc0">mesos::internal::slave::Launcher::status</a></div><div class="ttdeci">virtual process::Future< ContainerStatus > status(const ContainerID &containerId)=0</div></div>
<div class="ttc" id="namespacecgroups_html_a2ecc89636706df947027a4c3c2100fbe"><div class="ttname"><a href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">cgroups::create</a></div><div class="ttdeci">Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_a71741e35eb44f5ca5734af8d945b0e8d"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a71741e35eb44f5ca5734af8d945b0e8d">mesos::internal::slave::Launcher::~Launcher</a></div><div class="ttdeci">virtual ~Launcher()</div><div class="ttdef"><b>Definition:</b> launcher.hpp:49</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_af6c5246e61f3959d393d06f4abf23b45"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#af6c5246e61f3959d393d06f4abf23b45">mesos::internal::slave::Launcher::fork</a></div><div class="ttdeci">virtual Try< pid_t > fork(const ContainerID &containerId, const std::string &path, const std::vector< std::string > &argv, const process::Subprocess::IO &in, const process::Subprocess::IO &out, const process::Subprocess::IO &err, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces)=0</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_a71741e35eb44f5ca5734af8d945b0e8d"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#a71741e35eb44f5ca5734af8d945b0e8d">mesos::internal::slave::Launcher::~Launcher</a></div><div class="ttdeci">virtual ~Launcher()</div><div class="ttdef"><b>Definition:</b> launcher.hpp:50</div></div>
<div class="ttc" id="namespaceflags_html"><div class="ttname"><a href="namespaceflags.html">flags</a></div><div class="ttdef"><b>Definition:</b> parse.hpp:33</div></div>
<div class="ttc" id="hashmap_8hpp_html"><div class="ttname"><a href="hashmap_8hpp.html">hashmap.hpp</a></div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher_html_a9441321f40e25cb57df4e05751dbcbb5"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a9441321f40e25cb57df4e05751dbcbb5">mesos::internal::slave::SubprocessLauncher::pids</a></div><div class="ttdeci">hashmap< ContainerID, pid_t > pids</div><div class="ttdef"><b>Definition:</b> launcher.hpp:123</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher_html_a9441321f40e25cb57df4e05751dbcbb5"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1SubprocessLauncher.html#a9441321f40e25cb57df4e05751dbcbb5">mesos::internal::slave::SubprocessLauncher::pids</a></div><div class="ttdeci">hashmap< ContainerID, pid_t > pids</div><div class="ttdef"><b>Definition:</b> launcher.hpp:122</div></div>
<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac68e329/content/api/latest/c++/subprocess_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/subprocess_8hpp.html b/content/api/latest/c++/subprocess_8hpp.html
index e661d63..c5cec43 100644
--- a/content/api/latest/c++/subprocess_8hpp.html
+++ b/content/api/latest/c++/subprocess_8hpp.html
@@ -107,12 +107,12 @@ Typedefs</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:aabc8d31889b5a325275d13d7bcef6a9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< Subprocess > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#aabc8d31889b5a325275d13d7bcef6a9c">process::subprocess</a> (const std::string &path, std::vector< std::string > argv, const Subprocess::IO &in=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#afcf80a6d91178952d107ad00b165752b">STDIN_FILENO</a>), const Subprocess::IO &out=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#abd165ee6474b5b75bf075842fff13a04">STDOUT_FILENO</a>), const Subprocess::IO &err=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>), const <a class="el" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a> *<a class="el" href=
"decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a>=nullptr, const <a class="el" href="classOption.html">Option</a>< std::map< std::string, std::string >> &environment=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< lambda::function< <a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a>(const lambda::function< int()> &)>> &clone=<a class="el" href="structNone.html">None</a>(), const std::vector< Subprocess::ParentHook > &parent_hooks={}, const std::vector< Subprocess::ChildHook > &child_hooks={})</td></tr>
-<tr class="memdesc:aabc8d31889b5a325275d13d7bcef6a9c"><td class="mdescLeft"> </td><td class="mdescRight">Forks a subprocess and execs the specified 'path' with the specified 'argv', redirecting stdin, stdout, and stderr as specified by 'in', 'out', and 'err' respectively. <a href="namespaceprocess.html#aabc8d31889b5a325275d13d7bcef6a9c">More...</a><br /></td></tr>
-<tr class="separator:aabc8d31889b5a325275d13d7bcef6a9c"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:acd3d31ab4db7e39286a689b69ff8be3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< Subprocess > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#acd3d31ab4db7e39286a689b69ff8be3e">process::subprocess</a> (const std::string &command, const Subprocess::IO &in=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#afcf80a6d91178952d107ad00b165752b">STDIN_FILENO</a>), const Subprocess::IO &out=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#abd165ee6474b5b75bf075842fff13a04">STDOUT_FILENO</a>), const Subprocess::IO &err=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>), const <a class="el" href="classOption.html">Option</a>< std::map< std::string, std::string >> &environment=<a class="
el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< lambda::function< <a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a>(const lambda::function< int()> &)>> &clone=<a class="el" href="structNone.html">None</a>(), const std::vector< Subprocess::ParentHook > &parent_hooks={}, const std::vector< Subprocess::ChildHook > &child_hooks={})</td></tr>
-<tr class="memdesc:acd3d31ab4db7e39286a689b69ff8be3e"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structOverload.html">Overload</a> of 'subprocess' for launching a shell command, i.e., 'sh -c command'. <a href="namespaceprocess.html#acd3d31ab4db7e39286a689b69ff8be3e">More...</a><br /></td></tr>
-<tr class="separator:acd3d31ab4db7e39286a689b69ff8be3e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2d7e0a283bc0c9eca8a8b0532e026269"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< Subprocess > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#a2d7e0a283bc0c9eca8a8b0532e026269">process::subprocess</a> (const std::string &path, std::vector< std::string > argv, const Subprocess::IO &in=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#afcf80a6d91178952d107ad00b165752b">STDIN_FILENO</a>), const Subprocess::IO &out=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#abd165ee6474b5b75bf075842fff13a04">STDOUT_FILENO</a>), const Subprocess::IO &err=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>), const <a class="el" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a> *<a class="el" href=
"decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a>=nullptr, const <a class="el" href="classOption.html">Option</a>< std::map< std::string, std::string >> &environment=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< lambda::function< <a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a>(const lambda::function< int()> &)>> &clone=<a class="el" href="structNone.html">None</a>(), const std::vector< Subprocess::ParentHook > &parent_hooks={}, const std::vector< Subprocess::ChildHook > &child_hooks={}, const std::vector< <a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> > &whitelist_fds={})</td></tr>
+<tr class="memdesc:a2d7e0a283bc0c9eca8a8b0532e026269"><td class="mdescLeft"> </td><td class="mdescRight">Forks a subprocess and execs the specified 'path' with the specified 'argv', redirecting stdin, stdout, and stderr as specified by 'in', 'out', and 'err' respectively. <a href="namespaceprocess.html#a2d7e0a283bc0c9eca8a8b0532e026269">More...</a><br /></td></tr>
+<tr class="separator:a2d7e0a283bc0c9eca8a8b0532e026269"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0a748c548ad3a094196c98f00f9674cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< Subprocess > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#a0a748c548ad3a094196c98f00f9674cf">process::subprocess</a> (const std::string &command, const Subprocess::IO &in=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#afcf80a6d91178952d107ad00b165752b">STDIN_FILENO</a>), const Subprocess::IO &out=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#abd165ee6474b5b75bf075842fff13a04">STDOUT_FILENO</a>), const Subprocess::IO &err=Subprocess::FD(<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>), const <a class="el" href="classOption.html">Option</a>< std::map< std::string, std::string >> &environment=<a class="
el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< lambda::function< <a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a>(const lambda::function< int()> &)>> &clone=<a class="el" href="structNone.html">None</a>(), const std::vector< Subprocess::ParentHook > &parent_hooks={}, const std::vector< Subprocess::ChildHook > &child_hooks={}, const std::vector< <a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> > &whitelist_fds={})</td></tr>
+<tr class="memdesc:a0a748c548ad3a094196c98f00f9674cf"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structOverload.html">Overload</a> of 'subprocess' for launching a shell command, i.e., 'sh -c command'. <a href="namespaceprocess.html#a0a748c548ad3a094196c98f00f9674cf">More...</a><br /></td></tr>
+<tr class="separator:a0a748c548ad3a094196c98f00f9674cf"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->