如何在IntelliJ中设置bash解释器路径 [英] How to set bash interpreter path in IntelliJ

查看:65
本文介绍了如何在IntelliJ中设置bash解释器路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道应该在IntelliJ的运行/调试配置"的解释器路径"区域中设置哪个路径,以构成和运行bash脚本.

I am wondering which path should be set in "Interpreter path" area in Run/Debug Configurations in IntelliJ, to complie and run bash script.

在Windows 7上使用IntelliJ 15.0.3

Using IntelliJ 15.0.3 on Windows 7

推荐答案

您必须已安装外壳.

我已经安装了 Git ,所以我使用了git shell的路径.

I have Git installed, so I use the path to the git shell.

类似于 C:\ Program Files \ Git \ bin \ sh.exe .

我还在解释器选项"字段中使用了-login -i 标志.

I use also the --login -i flags for the "Interpreter options" field.

这篇关于如何在IntelliJ中设置bash解释器路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆