4 from killSalomeWithPort import killMyPort
7 user = os.getenv('USER')
8 for file in os.listdir(os.getenv("HOME")):
9 l = string.split(file, "_")
11 if file[:len(user)] == user:
12 if l[len(l)-2] == "SALOME" and l[len(l)-1] == "pidict":
13 killMyPort(l[len(l)-3])
16 if __name__ == "__main__":