title: Linux CreateProcess?
body: <p>I developing on the Linux platform.</p>
  
  <p>I want to create a new proccess in my library without replacing the current executing image.</p>
  
  <p>Because I am developing a library, I don't have a main function.</p>
  
  <p>And I want to continue the new process after the invoker application closes (Just like <code>CreateProcess</code> Windows API).</p>
  
  <p>Is it possible in Linux or not?</p>
  
  <p>something like this function:</p>
  
  <pre><code>void Linux_CreateProcess(const char* app_name)
  {
    // Executing app_name.
  
    // ???????? what is the code ??????
  
    // app_name is running and never close if current application close.
    return;
  }
  </code></pre>
  
  <p>Note:</p>
  
  <ul>
  <li><p><code>system()</code> blocks the current process, it is not good. I want to continue the current process.</p></li>
  <li><p><code>exec()</code> family replace the current executing image, it is not good.</p></li>
  <li><p><code>popen()</code> closes the new process if the current process closed.</p></li>
  </ul>