rm unused `with_env` arg from cmdmod._run()
Merge pull request #4776 from cvrebert/patch-3

rm unused `with_env` arg from cmdmod._run()