killing process in windows

Veronica Tomescu be_veronic at yahoo.com
Mon Jun 6 15:48:39 CEST 2005


Hi,
 
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?
Thanks in advance.
Veronica


		
---------------------------------
Discover Yahoo!
 Get on-the-go sports scores, stock quotes, news & more. Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050606/a989e484/attachment.html>


More information about the Python-list mailing list