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.22.5
Published
Jun 27, 2024
Platform
windows/amd64
Imports
3 packages
Last checked
26 seconds ago

Tools for package owners.