Running launchctl from tmux

Rainer Müller raimue at macports.org
Wed Apr 19 08:53:40 UTC 2017


On 2017-04-19 01:41, Kendall Shaw wrote:
> 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 would assume this is due to tmux running in its own bootstrap
namespace, similar to the problem of not being able to access the
pasteboard services from within tmux.

A good explanation can be found here:
https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard

Rainer


More information about the macports-users mailing list