Documentation
¶
Overview ¶
Package hostenv gives child processes the environment the program was started from, minus what an AppImage's AppRun injected for the bundle's own libraries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Environ ¶
func Environ() []string
Environ is os.Environ for a child process. Inside an AppImage ($APPIMAGE and $APPDIR set) it drops every path-list entry under $APPDIR and every variable left empty by that, plus APPDIR, APPIMAGE and OWD, so a host tool such as git or dotnet loads the host's libraries instead of the bundle's. The program's own process keeps its environment: a GUI toolkit's helper processes need it. AppImages exist only on Linux, so elsewhere it is os.Environ.
Types ¶
This section is empty.