Re: Create a process with a "time to live"

2008-08-15 Thread Fredrik Lundh
Carl J. Van Arsdall wrote: 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 s

Re: Create a process with a "time to live"

2008-08-15 Thread John Krukoff
On Fri, 2008-08-15 at 10:00 -0700, Carl J. Van Arsdall wrote: > 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

Create a process with a "time to live"

2008-08-15 Thread Carl J. Van Arsdall
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 o