]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
A fix to launch more than one session on windows
authoradam <adam>
Tue, 8 Sep 2009 10:13:00 +0000 (10:13 +0000)
committeradam <adam>
Tue, 8 Sep 2009 10:13:00 +0000 (10:13 +0000)
bin/runSalome.py

index 2e28e49afb775f48949d100557321c5464f526fa..a0bc816969b0a4ecbebe5dfc19678120e48f5682 100755 (executable)
@@ -756,7 +756,7 @@ def searchFreePort(args, save_config=1):
     os.remove( tmp_file );
     #
     def portIsUsed(port, data):
-        regObj = re.compile( "tcp.*:([0-9]+).*:.*listen", re.IGNORECASE );
+        regObj = re.compile( ".*tcp.*:([0-9]+).*:.*listen", re.IGNORECASE );
         for item in data:
             try:
                 p = int(regObj.match(item).group(1))