3 ms·
It is interesting that they do not allow ability to change env and working dir via security policy or a command line arg (--allow-setenv, etc.).
by throwaway2037 2y ago
It is interesting that they do not allow ability to change env and working dir via security policy or a command line arg (--allow-setenv, etc.).
- xxs 2y agoThat would be so much wasted engineering effort. The actual solution is simple: read what you need from env, and pass it as parameters to the functions you want to. The values of what you have read can be changed... and if you really, really want start a child process with a modified env.