File system path used when running external tools Follow
in PhpStorm (PS-117.694) on OSX, 10.7.4
using Tools->Run command
enter command: sh
enter command: echo $PATH
this gives me: /usr/bin:/bin:/usr/sbin:/sbin
(same result with bash)
same for phing
outside phpstorm using bash I have: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/zend/bin
So where does PhpStorm get it's PATH variable from and where to modify it?
Please sign in to leave a comment.
some configuration files apply only to terminal, for example, ~/.bashrc. Please use this info to configure $PATH globally.
adding the PATH to ~/.MacOSX/environment.plist does the job.
Could not get any of the other solutions to work.
if the file does not exist it can be created with xcode, see above link
Cannot get this to work on OSX 10.7.4, cannot access the PATH variables needed in my external tools.</dict>
I think you have to restart or logout in order to get it working.
what does the run command "echo $PATH" gives?
Hmm, very weird - now it seems all works ok. I need a few more coffees, sorry for false alarm.