From 0c239da17c9116cf8b3324bfec5a5737d4a93c93 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 24 Jul 2019 14:54:20 -0400 Subject: [PATCH] added auto port find --- tests/debug.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/debug.py b/tests/debug.py index 32eaf7a0..770cb37a 100644 --- a/tests/debug.py +++ b/tests/debug.py @@ -134,6 +134,7 @@ def get_pids(port): command = "sudo lsof -i :%s | awk '{print $2}'" % port pids = subprocess.check_output(command, shell=True) pids = pids.strip() + print(pids) if pids: pids = re.sub(' +', ' ', pids) for pid in pids.split('\n'):