在PyCharm中使用BashSupport运行脚本

时间:2017-10-14 11:26:47

标签: pycharm

我正在使用插件BashSupport,我创建了一个Bash脚本文件。每当我运行脚本时,我都会得到:

C:\WINDOWS\system32\bash.exe C:/Users/MyUser/PycharmProjects/studY/test.sh
/bin/bash: C:/Users/MyUser/test.sh: File or catalog doesn't exist

Process finished with exit code 127

1 个答案:

答案 0 :(得分:0)

我相信Windows的bash仍使用unix样式路径,因此正确的路径为/mnt/c/Users/MyUser/PycharmProjects/studY/test.sh