Running launchctl from tmux

Kendall Shaw kendall.shaw at workday.com
Tue Apr 18 23:41:13 UTC 2017


This is sort of on topic because I installed tmux via macports…

I can do this to set environment variable as as non-root user:

launchctl setenv BLAH blah

But, within tmux I get:

Not privileged to set domain environment.

I find posts on the internets suggesting running tmux with sudo, but then I am running as root which is not what I want to do.

Do you know what sort of permission I need to grant what to be able to use launchctl as myself within tmux?

Kendall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170418/3337b291/attachment.html>


More information about the macports-users mailing list