]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: salome_session does not work on distributed computers
authorprascle <prascle>
Fri, 21 Apr 2006 14:54:23 +0000 (14:54 +0000)
committerprascle <prascle>
Fri, 21 Apr 2006 14:54:23 +0000 (14:54 +0000)
bin/salome_session.py

index 354bb3350789820162afcb44b4f2ed8c16b139a1..8c823b48616ed79d2ac2ba6601d4dbbf367b3c42 100644 (file)
@@ -61,6 +61,8 @@ def searchFreePort():
             raise msg
         NSPORT=NSPORT+1
         pass
+    os.environ['NSHOST']=hostname
+    os.environ['NSPORT']=str(NSPORT)
     return NSPORT