Create a process with a "time to live"

Carl J. Van Arsdall cvanarsdall at mvista.com
Fri Aug 15 19:00:31 CEST 2008


Hey python[],

I want to create a process that would "expire" if it didn't complete in 
a set amount of time.  I don't seem to see any timeout values to pass 
os.system - does anyone know of a good way to do this? 

So far all I can think of is some kind of watchdog thread - but that 
seems like overkill to do such a simple thing.


-Carl




-- 

Carl J. Van Arsdall
cvanarsdall at mvista.com
Build and Release
MontaVista Software





More information about the Python-list mailing list