title: Launch an independent process with python
body: <p>Its a really simple question really, but I cant seem to find any solution.</p>
  
  <p>I have a python script and I want to launch an independent daemon process. I want to call ym python script, launch this system tray dameon, do some python magic on a database file and quit, leaving the system tray daemon running. </p>
  
  <p>I've tried <code>os.system</code>, <code>subprocess.call</code>, <code>subprocess.Popen</code>, <code>os.execl</code>, but it always keeps my script alive until I close the system tray daemon. </p>
  
  <p>This sounds like it should be a simple solution, but I can't get anything to work.</p>
  
  <p>EDIT:
   Solution for Windows: <code>os.startfile()</code>
  <a href="http://docs.python.org/library/os.html?highlight=startfile#os.startfile" rel="noreferrer">http://docs.python.org/library/os.html?highlight=startfile#os.startfile</a></p>
  
  <p>Sometimes giving up and asking means you're just on the cusp of the answer.</p>