Setting environment variables
Alan Ruttenberg
alanruttenberg at gmail.com
Sat Apr 29 22:38:44 UTC 2023
Here's what I did:
https://github.com/alanruttenberg/lsw2/blob/owlapiv4/util/setenv.lisp
You still can't set environment variables in the parent process, of course.
Alan
On Sat, Apr 29, 2023 at 2:25 AM Scott L. Burson <Scott at sympoiesis.com>
wrote:
> Hi,
>
> I've been away from ABCL for some time, so I ask your indulgence in case
> I'm revisiting a familiar issue. I tried (SETF (UIOP:GETENV "foo")
> "value") and got
>
> Not (currently) implemented on ABCL: (SETF UIOP/OS:GETENV)
>
> On investigation, I see that the JVM doesn't normally support setting
> environment variables, but there are known ways to jimmy it into doing so:
> https://stackoverflow.com/questions/318239/how-do-i-set-environment-variables-from-java
>
> Would a PR to add such a hack to ABCL be welcome, or should I just make it
> a local mod? Or is there another, recommended way of doing this?
>
> -- Scott
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20230429/834e31a0/attachment.html>
More information about the armedbear-devel
mailing list