Start and control an extern program

Miki Tebeka miki.tebeka at zoran.com
Fri Mar 12 01:46:53 CET 2004


Hello Axel,

> I want to start an extern program  and simple stop it, after a
> given time, if not succesfull finished.  
> OS is Linux
Use a Timer object and os.kill.
Usually when a program exit successfully it's return value will be 0 
(the result of sys.exit for example)

HTH.
Miki



More information about the Python-list mailing list