On 4/14/21 5:29 AM, Rony G. Flatscher (Apache) wrote:
A JVM
AFAIK would not honor changes to the environment after it got started

A serious question. Apologies for selective selection from the response.

Are there any operating systems where change in environment is automatically reflected in child process? My understanding was, processes always inherit parent environment and have no way of knowing what changed.


If you managed to spawn a process with different parent based on your operating system, then you might see new values, but most of the spawn/exec calls (regardless of language of implmentation) inherit the exact same environment variables. Some calls do allow you to setup the environment variables for child process but struggling to figure out where grandparent process informed parent about environment change which can be sent to grandchild.


Regards,


Niranjan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to