fix: remove captcha_output

This commit is contained in:
姚凯
2024-12-05 17:39:49 +08:00
committed by xbingW
parent a18cc16b33
commit c2c3fe32fb

View File

@@ -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: