OpamStd.Win32SourceWin32 Registry Hives and Values
Change which the pid written to by parent_putenv. This function cannot be called after parent_putenv.
Update an environment variable in the parent (i.e. shell) process's environment.
persistHomeDirectory value sets the HOME environment variable in this and the parent process and also persists the setting to the user's registry and broadcasts the change to other processes.