From c2c3fe32fbf740ccfc9459b63960a3167d0d834d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E5=87=AF?= Date: Thu, 5 Dec 2024 17:39:49 +0800 Subject: [PATCH] fix: remove captcha_output --- scripts/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/manage.py b/scripts/manage.py index 64647e6..7520b6e 100644 --- a/scripts/manage.py +++ b/scripts/manage.py @@ -458,7 +458,7 @@ def free_memory(): def exec_command(*args,shell=False): try: - proc = subprocess.run(args, check=False, capture_output=True, universal_newlines=True,shell=shell) + proc = subprocess.run(args, check=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True,shell=shell) subprocess_output(proc.stdout.strip()) return proc.returncode, proc.stdout, proc.stderr except Exception as e: