Add (get-env) and (set-env) for environment variables
Bravotic opened this issue · 0 comments
Bravotic commented
Allow crow to access and set environment variables.
Sample usage:
(set path (get-env "PATH"))
(set-env "PATH" (string path ":/tmp/crow"))
Should probably use getenv
and setenv
in stdlib.h
to do this. This may need a special version for Windows.