Jor*_*ris 2 python bash shell install
我想通过shell脚本绕过"你想继续(y/n,默认n)"提示.
我试过了:
python setup.py install --force
Run Code Online (Sandbox Code Playgroud)
和
python setup.py install
wait
y
Run Code Online (Sandbox Code Playgroud)
两个都不起作用......谁有其他想法?
如果多次显示此问题,只需执行以下操作:
yes | command
Run Code Online (Sandbox Code Playgroud)
然而,这也将知道所有其他问题.如果你想要更复杂的东西可以看看expect.
| 归档时间: |
|
| 查看次数: |
1333 次 |
| 最近记录: |