0023197: Draw executable do not detect update of environment variables on Windows.
authorabv <abv@opencascade.com>
Thu, 28 Jun 2012 13:48:50 +0000 (17:48 +0400)
committerabv <abv@opencascade.com>
Thu, 28 Jun 2012 13:48:50 +0000 (17:48 +0400)
commitb7e762247197fb1cf9a5abc4a52a6177f75ab691
treea2182f4a7bea0a35536e1d6440c9a8dd38163008
parentaa02980dbf96fbe3770146aeeee1fb3d4cd53acb
0023197: Draw executable do not detect update of environment variables on Windows.

New DRAW commands dgetenv and dsetenv are added, allowing to query and set environment variables as defined in C subsystem, from Tcl.

On Windows, special handler is armed in DrawDefaults providing automatic update of C environment when Tcl environment (array env) is modified. Note that this is not needed on Linux (Tcl does this internally).

Fixed problem with "array get env" command.

Added comments to _update_c_env proc.
src/Draw/Draw_VariableCommands.cxx
src/DrawResources/DrawDefault