The admin console launched by wsudo doesn't inherit any non-default environment variables which might have been set in the calling process. I plan to clone the whole set of env vars and make it available to the admin console and its child processes. It might be a bit complicated because the command line size for cmd.exe is limited to 8K. I need to use some form of IPC other than the base64-encoded json passed as command line arg I use. Something like a memory mapped file, perhaps.
The admin console launched by
wsudodoesn't inherit any non-default environment variables which might have been set in the calling process. I plan to clone the whole set of env vars and make it available to the admin console and its child processes. It might be a bit complicated because the command line size forcmd.exeis limited to 8K. I need to use some form of IPC other than the base64-encoded json passed as command line arg I use. Something like a memory mapped file, perhaps.