cmd = "e:\\dmin\\AdminD.exe online"
        ps = subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE)
        ps.stdin.write("file=烂烂烂服务器.role\n") #注意加"\n"
        ps.stdin.write("exit\n")
        data = ps.stdout.read()
        #data = ps.communicate("file=烂烂烂服务器.role"

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2021-10-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案