def __Is_Process_Running(self,p_w_picpathname):

        p=os.popen('tasklist /FI "IMAGENAME eq %s"' % p_w_picpathname)
        return p.read().count(p_w_picpathname)
 
返回值大于0 则表明有这个进程名的程序在运行