[英]Run bash script using PyCharm
I have a python project and inside the project, I have a bash script to upload to a server. 我有一个python项目,在项目内部,我有一个bash脚本要上传到服务器。 I usually run this bash script in my terminal using
我通常使用以下命令在终端中运行此bash脚本
./bash_script.sh
I would like to know if it's possible to do this using PyCharm? 我想知道是否可以使用PyCharm做到这一点?
Select View > Tool Windows > Terminal
from the main menu in Pycharm to open an embedded terminal. 从Pycharm的主菜单中选择“
View > Tool Windows > Terminal
”以打开嵌入式终端。
You can configure options, like path to the shell you'd like to use and the start directory in Preferences > Tools > Terminal
您可以在
Preferences > Tools > Terminal
配置选项,例如您要使用的外壳的路径以及开始目录
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.