From 7fa4b63735fa38532c104cc62786b4d676a8b91a 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 2cd43115..8bec9466 100755 --- a/proton +++ b/proton @@ -1555,7 +1555,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()