PageRenderTime 24ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Unknown | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | a90b348105c9bcd7f5ee27ca98a7d682 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. setenv(String env, String value)
  3. {
  4. import console.ConsolePlugin;
  5. return ConsolePlugin.setSystemShellVariableValue(env,value);
  6. }
  7. help.setenv = "usage: setenv ( env, value )";