Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't setup the PATH for GUI applications #5

Open
2shortplanks opened this issue Jun 13, 2011 · 2 comments
Open

Doesn't setup the PATH for GUI applications #5

2shortplanks opened this issue Jun 13, 2011 · 2 comments

Comments

@2shortplanks
Copy link
Collaborator

This only works for Perl processes executed from the command line. In order to get this to work when Perl is executed from a GUI program (e.g. from a service, etc) you need to do this

mkdir ~/.MacOSX
touch ~/.MacOSX/environment.plist
defaults write  ~/.MacOSX/environment PATH "$PATH"

Then log out and log back in again.

(No idea how you want to include this in the script)

@2shortplanks
Copy link
Collaborator Author

Also, the above example won't DTRT when you perlbrew switch

@ranguard
Copy link
Owner

Hmm, not sure what to do about this - might be better to have in Perlbrew so it can take that into account?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants