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

execenv_windows.go

Version
v1.17.5
Published
Dec 9, 2021
Platform
windows/amd64
Imports
4 packages
Last checked
5 seconds ago

Tools for package owners.