Hello Veronica, > I am using Trent's process.py but I have a problem with killing the > processes in windows. > For example : > > import process,time > > p=process.ProcessOpen('C:\Program Files\Windows Media > Player\wmplayer') > time.sleep(3) > p.kill() > > will start Media Player without terminating it. > Any suggestions? A brutal way will be to use win32process.TerminateProcess (from win32all package - http://starship.python.net/crew/mhammond/).
HTH. -- ------------------------------------------------------------------------ Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only difference between children and adults is the price of the toys
pgpwnvizK9j8w.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list