Initial commit
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user