title: Does the C++ standard support processes?
body: <p>I know C++11 added support for threads. For example:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;thread&gt;
  
  void bar()
  {
      std::cout &lt;&lt; "bar()\n";
  }
  
  int main()
  {
      std::thread thread(bar);
      thread.join();
  
      return 0;
  }
  </code></pre>
  
  <p>However, is there a way to execute the <code>bar</code> function in a separate process? If not, is there any discussion on whether such a feature should be added?</p>
  
  <p><strong>Note:</strong> I'm aware of the possibility of using platform independent libraries and I'm just curious if C++ supports this directly or will in the future.</p>