Imports #
"syscall"
"internal/syscall/windows"
"syscall"
"unsafe"
"syscall"
"internal/syscall/windows"
"syscall"
"unsafe"
Default will return the default environment variables based on the process attributes provided. Defaults to syscall.Environ() on all platforms other than Windows.
func Default(sys *syscall.SysProcAttr) ([]string, 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().
func Default(sys *syscall.SysProcAttr) (env []string, err error)
Generated with Arrow