wslenv

package module
v0.0.0-...-9f34aa4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2021 License: BSD-3-Clause-Clear Imports: 5 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	WSLENV      = "WSLENV"
	ENVIRONMENT = "Environment"
)

https://devblogs.microsoft.com/commandline/share-environment-vars-between-wsl-and-windows/

View Source
const (
	HWND_BROADCAST          = windows.HWND(0xFFFF)
	WM_SETTINGCHANGE        = uint(0x001A)
	SMTO_NORMAL             = uint(0x0000)
	SMTO_ABORTIFHUNG        = uint(0x0002)
	SMTO_NOTIMEOUTIFNOTHUNG = uint(0x0008)
)

Variables

This section is empty.

Functions

func Notify

func Notify() error

func Publishenv

func Publishenv(key string, flags string, publish bool) error

func Setenv

func Setenv(key string, value string, flags string, publish bool) error

func Unpublishenv

func Unpublishenv(key string, flags string, publish bool) error

func Unsetenv

func Unsetenv(key string, publish bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL