From f98e82dafd8ac5df7e8f23a735104c2e7d9dacfa Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 8 Sep 2009 10:13:00 +0000 Subject: [PATCH] A fix to launch more than one session on windows --- bin/runSalome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2