get_environment


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.32" ) ]
public string[] get_environment ()

Gets the complete environment variable list to be passed to the child process when this is used to launch an application.

This is a null-terminated array of strings, where each string has the form `KEY=VALUE`.

Parameters:

this

a AppLaunchContext

Returns:

the child's environment




2022 vala-language.org