import subprocess

p = subprocess.Popen('df -lh', stdout=subprocess.PIPE, shell=True)
print(p.stdout.read())

 

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-05-30
  • 2021-10-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
相关资源
相似解决方案