2c6914129cd3ae123cf9eda6d1a7eab85f04d563
By default, exec uses the environment of the current process, however, if `exec.Env` is not `nil`, the environment is discarded:e73f489494/src/os/exec/exec.go (L57-L60)> If Env is nil, the new process uses the current process's environment. When adding a new environment variable, prepend the current environment, to make sure it is not discarded. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit6c4fbb7738) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit:fc8717799fComponent: cli
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%