|
From: | Derek Rhodes |
Subject: | Re: How to unset environment variable |
Date: | Sun, 1 May 2022 10:23:53 -0400 |
On 2022-05-01 08:45:11 -0400, Derek Rhodes wrote:
> 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
Thank you.
What is the difference between (set-environment-variable! "FOOBAR" #f)
and (delete-environment-variable! "FOOBAR") ? The source code looks like
they do different things. I would assume that "delete-environment-variable!"
is the proper method for deleting an environment variable.
[Prev in Thread] | Current Thread | [Next in Thread] |