From d955bbff0c117ddbef8e444caf9128907c11693c Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 8 Aug 2026 07:21:47 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20run=20tap=20proxy=20interactively=20?= =?UTF-8?q?=E2=80=94=20user=20controls=20stop=20with=20Ctrl+C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/python/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sources/python/main.py b/sources/python/main.py index 87556f0..26aa249 100644 --- a/sources/python/main.py +++ b/sources/python/main.py @@ -423,8 +423,9 @@ def start_debug(): print(f"Log: {logdir}/tap-*.log") print("Press Ctrl+C to stop — container will restart automatically.\n") try: - run(f"python3 {tap_script} {port} {backend} {logdir}", timeout=300) - except: + import subprocess + subprocess.call(["python3", tap_script, port, backend, logdir]) + except KeyboardInterrupt: pass finally: print(f"\nRestarting wallarm-{n['name']}...")