added auto port find

This commit is contained in:
William Falcon
2019-07-24 14:59:40 -04:00
parent e3f01388df
commit 98be54de80
2 changed files with 6 additions and 14 deletions
+1
View File
@@ -138,4 +138,5 @@ if __name__ == '__main__':
command = "lsof -i :%s | awk '{print $2}'" % 12910
pids = subprocess.check_output(command, shell=True)
pids = pids.strip()
print(pids)