Package: gio
Function g-application-command-line-getenv
Lambda Listg-application-command-line-getenv (cmdline name) ArgumentsReturn ValueA string with the value of the variable, or nil if unset or unsent. Details
Gets the value of a particular environment variable of the command line invocation, as would be returned by the function g-getenv.
The strings may contain non UTF-8 data. The remote application usually does not send an environment. Use the :send-enviroment flag to affect that. Even with this flag set it is possible that the environment is still not available, due to invocation messages from other applications. Example(defvar cmd (make-instance 'g-application-command-line)) => CMD (g-application-command-line-getenv cmd "HOME") => "/home/dieter" (g-application-command-line-getenv cmd "unkown") => NIL | See also |
2021-8-3