/bundles/plugins-trunk/Console/console/bsh/getenv.bsh

# · Unknown · 9 lines · 7 code · 2 blank · 0 comment · 0 complexity · 33cfe379b0ad8044f84d928dbd8f8f40 MD5 · raw file

  1. /* Returns environment variable value. */
  2. getenv(String env)
  3. {
  4. import console.ConsolePlugin;
  5. return ConsolePlugin.getSystemShellVariableValue(null,env);
  6. }
  7. help.getenv = "usage: getenv ( env )";