allow env.shell to be a python-format-string