View Single Post
Old 07-21-2019, 12:31 PM   #238
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,695
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
That should do effectively the same thing unless we mess up the environment somehow when we launch python plugins.
I believe you copy the system environment to the newly-created Python process environment when launching a Sigil plugin on Mac (if I recall correctly) before inserting a few new environment variables. So your temporary workaround should work.

We could also insert this new one in the same place in PluginRunnner.cpp (for the next release), since the env var really only needs to exist for the python process and not Sigil in general.
DiapDealer is offline   Reply With Quote