From: adam Date: Tue, 8 Sep 2009 10:13:00 +0000 (+0000) Subject: A fix to launch more than one session on windows X-Git-Tag: V5_1_3rc1~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f98e82dafd8ac5df7e8f23a735104c2e7d9dacfa;p=modules%2Fkernel.git A fix to launch more than one session on windows --- diff --git a/bin/runSalome.py b/bin/runSalome.py index 2e28e49af..a0bc81696 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -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))