title: Run Process and Don't Wait
body: <p>I'd like to run a process and not wait for it to return.  I've tried spawn with P_NOWAIT and subprocess like this:</p>
  <pre><code>app = &quot;C:\Windows\Notepad.exe&quot;
  file = &quot;C:\Path\To\File.txt&quot;
  
  pid = subprocess.Popen(
      [app, file], 
      shell=True, 
      stdin=subprocess.PIPE, 
      stdout=subprocess.PIPE,
  ).pid
  </code></pre>
  <p>However, the console window remains until I close Notepad.  Is it possible to launch the process and not wait for it to complete?</p>