Subject: Re: [boost] Environment Variables Library?
From: Boris Schäling (boris_at_[hidden])
Date: 2015-05-18 07:39:41
On Mon, 18 May 2015 11:37:00 +0200, Michael Ainsworth
> Two primary purposes, two ideas for additional possible uses.
> Primary purposes:
> 1. To provide cross platform (e.g., POSIX plus Windows) equivalents of
> setenv, getenv, "unsetenv" and "issetenv".
> 2. To allow iteration over all defined environment variables.
> Additional possible uses:
> 1. To create a new environment to pass to a new process.
> 2. To provide non "char" based environment variables (e.g.,
> All input appreciated.
There is a so-called environment iterator in Boost.ProgramOptions (see
And the library that should have become Boost.Process has support for
passing environment variables to a new process (including std::wstring;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk