test_agc_avc.py 287 B

123456789101112131415
  1. import subprocess
  2. # 构建命令
  3. command = [
  4. ]
  5. # 使用 subprocess.run 来执行命令
  6. result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
  7. # 输出结果和错误信息
  8. print("Output:")
  9. print(result.stdout)
  10. print("Error:")
  11. print(result.stderr)