Osx 10.11为gui启动应用程序设置路径

时间:2016-05-12 07:14:11

标签: macos path osx-elcapitan finder

我希望能够直接连接到gams。

Gams已设置在终端和launchctl

 gams --version
--- Job --version Start 05/12/16 09:09:32 24.7.1 r56632 DEX-DEG x86 64bit/MacOS X
*** Unable to open input file (RC=2) --version
*** SysMsg: No such file or directory
*** Status: Terminated due to parameter errors
--- Job --version Stop 05/12/16 09:09:32 elapsed 0:00:00.001
which gams
/Applications/gams/gams24.7_osx_x64_64_sfx/gams
launchctl getenv gams
/Applications/gams/gams24.7_osx_x64_64_sfx

然而,崇高似乎并没有获得$PATH,甚至很难通过launchtl设置它。 gams not found

1 个答案:

答案 0 :(得分:0)

在这种情况下,请编辑sublime-gams配置文件:

"路径":" /Applications/GAMS/gams24.7_osx_x64_64_sfx",

并设置路径。