Start and control an extern program

Miki Tebeka miki.tebeka at zoran.com
Thu Mar 11 19:46:53 EST 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