package execenv
import "internal/syscall/execenv"
Index ¶
Functions ¶
func Default ¶
func Default(sys *syscall.SysProcAttr) (env []string, err error)
Default will return the default environment variables based on the process attributes provided.
If the process attributes contain a token, then the environment variables will be sourced from the defaults for that user token, otherwise they will be sourced from syscall.Environ().
Source Files ¶
- Version
- v1.20.8
- Published
- Aug 31, 2023
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 23 seconds ago –
Tools for package owners.