Its a really simple question really, but I cant seem to find any solution.
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.
I've tried os.system, subprocess.call, subprocess.Popen, os.execl, but it always keeps my script alive until I close the system tray daemon.
This sounds like it should be a simple solution, but I can't get anything to work.
EDIT:
Solution for Windows: os.startfile()
http://docs.python.org/library/os.html?highlight=startfile#os.startfile
Sometimes giving up and asking means you're just on the cusp of the answer.