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.18.0
- Published
- Mar 15, 2022
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 13 seconds ago –
Tools for package owners.