closed #4849, The environment variable take effect without reboot machine on windows.
Merge pull request #6284 from natural-law/issue4849

The environment variable take effect without reboot machine on windows