i am trying to find a running process by it's but zombie process interrupt me- because of it i can't Determine if the process itself is running.
for pid in psutil.pids():
try:
p = psutil.Process(pid)
if name in p.name():
return True
else:
pass
except:
return Fals