(refs #361) add a logEnviron parameter to ShellCommand