os-env ( key -- value )
Environment variables

Next:os-envs ( -- assoc )


Vocabulary
environment

Inputs
keya string


Outputs
valuea string


Word description
Looks up the value of a shell environment variable.

Examples
This is an operating system-specific feature. On Unix, you can do:
USING: environment io ; "USER" os-env print
jane


See also
os-envs, set-os-env, unset-os-env, set-os-envs, set-os-envs-pointer, change-os-env, with-os-env

Definition


Methods