Note scsh has procedures to do this, in the currently "Intentionally omitted" section 3.11: https://scsh.net/docu/html/man-Z-H-1.html#node_toc_node_sec_3.11

- Harold

----- Original message -----
From: John Cowan <xxxxxx@ccil.org>
Date: Thursday, December 05, 2019 1:47 PM

There was a bit of SRFI-98 discussion in July 2008 about adding setenv and unsetenv, but it never went anywhere.  I think I didn't pursue it then because they are Posix but not ISO C.  So yes, SRFI-170 seems like a good place.

Can you prepare a PR against Harold's repo, at least for the document?  Thanks.

On Wed, Dec 4, 2019 at 7:18 PM Lassi Kortela <xxxxxx@lassi.io> wrote:
R7RS has `get-environment-variable` and `get-environment-variables`
(presumably via SRFI 98).

Is `set-environment-variable` standardized anywhere? If not, would SRFI
170 be a good place for it?