Chris Rebert wrote:
Is there a way to do this without psutil or installing any external modules or doing it from python2.5?import os import psutil # http://code.google.com/p/psutil/# your piece of code goes here myself = os.getpid() for proc in psutil.process_iter():
Just wondering. Thanks again
if proc.ppid == myself: proc.kill() Cheers, Chris -- http://blog.rebertia.com
-- http://mail.python.org/mailman/listinfo/python-list