2 # -*- coding: utf-8 -*-
9 def Chercheversion(salomePath):
10 home=os.environ['HOME']
11 commande=os.path.abspath(os.path.join(home,salomePath,'runAppli'))
13 p = subprocess.Popen([commande,argus], stdout=subprocess.PIPE)
14 (output, err) = p.communicate()
15 version=' '.join(output.split())
19 if __name__ == "__main__":
20 print Chercheversion("/local00/home/A96028/Appli")