Initial commit

This commit is contained in:
admin
2025-12-12 14:38:41 +08:00
parent 05e20501a9
commit 467b8510a7

View File

@@ -23,7 +23,9 @@ def run_command(command):
shell=True, shell=True,
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
text=True text=True,
encoding='utf-8',
errors='replace'
) )
if result.stdout: if result.stdout:
print(result.stdout.strip()) print(result.stdout.strip())