Crowlang/crow

Add (get-env) and (set-env) for environment variables

Opened this issue · 0 comments

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.