Hello
I have the following, which I use within a CherryPy app. The subprocess bit is
just to see if it runs or not. It works on my home PC (Python 2.5.1 on
Ubuntu), but not on the live host which has Python 2.4.4 on Debian Etch.
def daemon():
while 1:
myperiodicfunction()
p = subprocess.Popen('cal > /tmp/stilhere.txt', shell=True)
time.sleep(30)
thread.start_new_thread(daemon,())
Is there a way to get it to work without upgrading Python (which I am not keen
to do, as I prefer the packaged version & security updates)
Thanks
____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor