Terminal 如何与google colab中当前运行的命令单元交互?
这是细胞的样子Terminal 如何与google colab中当前运行的命令单元交互?,terminal,jupyter-notebook,google-colaboratory,Terminal,Jupyter Notebook,Google Colaboratory,这是细胞的样子 Cloning into 'XYZ'... The authenticity of host 'github.com (192.**.###.113)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJIGOCWGl7E1spRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? 如何给这个正在运行的命
Cloning into 'XYZ'...
The authenticity of host 'github.com (192.**.###.113)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJIGOCWGl7E1spRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)?
如何给这个正在运行的命令单元格指定是或否?一旦进程运行,就没有简单的方法与它交互;两种选择:
yes
从shell传递给程序,例如echo'yes'| git…
或只是y | git…
(如果y
用作响应)https
路径而不是git
路径进行克隆