title: Passing arguments to child boost::process
body: <pre><code>void mainParent()
  {
      string str = &quot;.\\childProcess.exe&quot;;
      boost::process::child c(str,bp::args({stringArg}) );
      c.wait();
  }
  </code></pre>
  <pre><code>int mainChild(int argc, const char* argv[]) 
  {
      cout &lt;&lt; &quot;test == &quot; &lt;&lt; argv[0] &lt;&lt; endl;
  }
  </code></pre>
  <p><code>string stringArg =&quot;text&quot;;</code></p>
  <p>I tried: <code>boost::process::child c(str,bp::args({stringArg}) );</code></p>
  <p>but <code>cout &lt;&lt; &quot;test == &quot; &lt;&lt; argv[0] &lt;&lt; endl;</code> outputs its own path to the exe instead of the text I want.</p>