From 9aa92b8b13adb32ef1d1f3c76cb46c6311ead21e Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Mon, 29 Jul 2024 12:10:50 +0300 Subject: [PATCH] proton: Correctly Popen.communicate() with timeout. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index 943f58f5..f37f56a7 100755 --- a/proton +++ b/proton @@ -1541,7 +1541,7 @@ class Session: if remote_debug_proc: remote_debug_proc.kill() try: - remote_debug_proc.communicate(2) + remote_debug_proc.communicate(timeout=2) except subprocess.TimeoutExpired: log("terminate remote debugger") remote_debug_proc.terminate()