fix(control): 系统控制

test
jshixiong 1 year ago
parent a82f108eba
commit 1af530f9e4

@ -9,7 +9,7 @@ def execute_cpu_full_script():
['python3', script_path], ['python3', script_path],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
text=True universal_newlines=True
) )
output = result.stdout output = result.stdout
# error = result.stderr # error = result.stderr
@ -26,7 +26,7 @@ def execute_memory_full_script():
['python3', script_path], ['python3', script_path],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
text=True universal_newlines=True
) )
output = result.stdout output = result.stdout
# error = result.stderr # error = result.stderr

Loading…
Cancel
Save