Motivation
While iso_fortran_env provides get_environment_variable to query existing env variables, there doesn't seem to be a "set" counterpart availble in the Fortran standard or other standard modules.
A (yet to be) set_environment_variable could be added to stdlib by wrapping the C procedures
- Windows :
_putenv_s
- Unix:
setenv
Prior Art
No response
Additional Information
No response
Motivation
While iso_fortran_env provides
get_environment_variableto query existing env variables, there doesn't seem to be a "set" counterpart availble in the Fortran standard or other standard modules.A (yet to be)
set_environment_variablecould be added to stdlib by wrapping the C procedures_putenv_ssetenvPrior Art
No response
Additional Information
No response