From 8e1ed4fc2fd5cca30ed00892f8bcd6706da0e4fd Mon Sep 17 00:00:00 2001 From: prascle Date: Fri, 21 Apr 2006 14:54:23 +0000 Subject: [PATCH] PR: salome_session does not work on distributed computers --- bin/salome_session.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/salome_session.py b/bin/salome_session.py index 354bb3350..8c823b486 100644 --- a/bin/salome_session.py +++ b/bin/salome_session.py @@ -61,6 +61,8 @@ def searchFreePort(): raise msg NSPORT=NSPORT+1 pass + os.environ['NSHOST']=hostname + os.environ['NSPORT']=str(NSPORT) return NSPORT -- 2.39.2