Run app and send multiple commands from Python

后端 未结 0 1481
清酒与你
清酒与你 2021-02-04 10:35

How do I send multiple commands to a CLI based app from Python? I have tried the following:

import subprocess
subprocess.run(pathToApp, "com         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题