package execenv

import "internal/syscall/execenv"

Index

Functions

func Default

func Default(sys *syscall.SysProcAttr) ([]string, error)

Default will return the default environment variables based on the process attributes provided.

Defaults to syscall.Environ() on all platforms other than Windows.

Source Files

execenv_default.go

Version
v1.17.4
Published
Dec 2, 2021
Platform
js/wasm
Imports
1 packages
Last checked
18 seconds ago

Tools for package owners.