BUGFIX: pass env the right way, because when use os.env way, LC_ALL will
always be overrided in modules/cmdmod.py
Merge pull request #8349 from hvnsweeting/develop

BUGFIX: pass env the right way, because when use os.env way, LC_ALL will always be overriden in modules/cmdmod.py