g_get_environ() does not seem to be wrapped
Hello,
I'm trying to pass a modified environment variable list to Glib::spawn_async_with_pipes()
.
According to glib C API documentation, g_get_environ()
must be used to the environment variable list for the current process, and, after modifying it, pass the list to the spawn family of functions:
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-environ
I cannot find the equivalent of g_get_environ()
in either Glib
namespace, or Gio
. I also cannot find any documentation related to it.
The only things I can find are Gio::ApplicationCommandLine::get_environ()
and Gio::AppLaunchContext::get_environment()
, but I can't find any documentation on how to create instances of these classes for current process.
I have Glibmm 2.62.0 on OpenSUSE Linux 15.2.
Thanks!