harmony-api icon indicating copy to clipboard operation
harmony-api copied to clipboard

Launchd and PATH variable

Open The-sultan opened this issue 8 years ago • 0 comments

I'm having an issue with the install script. I see it creates the plist file setting the PATH variable to this: <key>PATH</key> <string>/usr/local/bin/:/usr/bin:$PATH</string>

Problem is, $PATH is not resolved since launchd is not able to resolve variables. This causes the execution of the command to not find "forever". I could hardcode my path to node but that doesn't look like a neat fix. Any ideas?

OSX Version: 10.12.3 (Sierra)

The-sultan avatar Feb 27 '17 21:02 The-sultan