PageRenderTime 40ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Unknown | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | 33cfe379b0ad8044f84d928dbd8f8f40 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  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 )";