2 ms·
Everything would be cool if it weren't for there being situations in which you need to set an environment variable in the same process in order to get a functio
by kazinator 3y ago
Everything would be cool if it weren't for there being situations in which you need to set an environment variable in the same process in order to get a function to do something. E.g the TZ variable in order to coax a behavior out of the time functions.
If environment variables are for child processes only, there is no need to use setenv because you can pass a specified environment array through exec.