From 865117392092f5f6f26256eeb218070143eecabd Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 24 Jul 2019 14:55:26 -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 11ca8c6557..52bd0ec56f 100644 --- a/tests/debug.py +++ b/tests/debug.py @@ -132,6 +132,7 @@ def get_pids(port): import subprocess import re + print('getting pid') command = "sudo lsof -i :%s | awk '{print $2}'" % port pids = subprocess.check_output(command, shell=True) pids = pids.strip()