You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.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.
The text was updated successfully, but these errors were encountered:
This would be a great addition, as some non default env variables might be essential to run a specific command.
Example: I use "AWS_PROFILE" to interface with different AWS envs through the CLI. I need to have that set to be able to run aws CLI commands. But if I have to also use "wsudo" (for example to copy the contents of a bucket locally), I also need the profile to transfer over the admin shell.
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 forcmd.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 text was updated successfully, but these errors were encountered: