Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.