The function delete-environment-variable! does a dynamic type check to
assure the env-var name is a string then grabs a mutex, so it looks like it
is thread safe. But, beyond that, I'd be speculating.
On Sun, May 1, 2022 at 9:34 AM Sam Lee wrote:
> On 2022-05-01 08:45:11 -0400, Derek Rhodes wro
Hi Sam, I dug around in the source and found this function:
(delete-environment-variable! "FOOBAR").
It was located in os-primitives.scm:
https://git.savannah.gnu.org/cgit/mit-scheme.git/tree/src/runtime/os-primitives.scm?h=release-11.2
I couldn't find docs for it, but there is a comment in the
I found that it is possible to unset an environment variable by setting
it to #f. For example, (set-environment-variable! "FOOBAR" #f) unsets
the environment variable named "FOOBAR". However, this doesn't seem to
be documented anywhere in the user manual or reference. Is this the way
to unset an en