This is a really simple question, but I cannot find any solution.
I have a python script and I want to start an independent daemon process. I want to call ym python script, run this dameon system tray, do some python magic in the database file and exit, leaving the daemon in the system tray.
I tried os.system , subprocess.call , subprocess.Popen , os.execl , but it always supports my script until I close the system daemon.
It seems like it should be a simple solution, but I can't get something to work.
EDIT: Windows Solution: os.startfile() http://docs.python.org/library/os.html?highlight=startfile#os.startfile
Sometimes refusing a request means that you are just about to answer.
source share