Fixed multi_threading

This commit is contained in:
nik012003
2022-06-26 12:15:17 +02:00
committed by DomySh
parent a3e9dd3269
commit edf55b553c
5 changed files with 98 additions and 28 deletions

View File

@@ -52,7 +52,7 @@ class Proxy:
self.__write_config(filters_codes)
self.process = subprocess.Popen(
[proxy_binary_path, str(self.public_host), str(self.public_port), str(self.internal_host), str(self.internal_port), self.config_file_path],
[ proxy_binary_path, str(self.public_host), str(self.public_port), str(self.internal_host), str(self.internal_port), self.config_file_path],
stdout=subprocess.PIPE, universal_newlines=True
)
for stdout_line in iter(self.process.stdout.readline, ""):