8 def Chercheversion(salomePath):
9 home=os.environ['HOME']
10 commande=os.path.abspath(os.path.join(home,salomePath,'salome'))
12 p = subprocess.Popen([commande,argus], stdout=subprocess.PIPE)
13 (output, err) = p.communicate()
14 version=' '.join(output.decode().split())
18 if __name__ == "__main__":
19 print(Chercheversion("/local00/home/A96028/Appli"))