up previous next
GetEnv --
access shell variables
|
GetEnv(S: STRING): STRING |
This function returns the value of system shell variable whose name
is
S.
CoCoA is normally started by its own shell script; so we recommend
using "export" to make your shell variables visible to CoCoA.
/**/ GetEnv("HOME");
/Users/bigatti
/**/ GetEnv("SHELL");
/bin/bash
|