用例:f = os.popen("%s %s %s" % ("pkg-config", " ".join(args), mod))

popen(...)
    popen(command [, mode='r' [, bufsize]]) -> pipe
    
    Open a pipe to/from a command returning a file object.

相关文章:

  • 2021-10-10
  • 2022-02-18
  • 2022-01-22
猜你喜欢
  • 2021-07-07
  • 2021-09-12
  • 2019-04-01
  • 2021-10-29
相关资源
相似解决方案