我有一个问题,它并不真正知道如何问。我会尽可能地尽力解释。我不得不使用bash脚本自动化安装过程。在这个过程中,我调用了一个名为configure.py的Python脚本。该脚本需要输入终端。自动输入终端
有没有办法通过传递终端参数等待来调用脚本?
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4.11.4 (licensed under the GNU General Public
License) for Python 2.7.9 on linux2.
Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.
Do you accept the terms of the license? yes
非常感谢。
搜索提示“期望python”。 – Dummy00001