<commit_before>=========
Changelog
=========

* :feature:`67` Added ``shell`` option to `~invoke.runners.Runner.run`,
  allowing control of the shell used when invoking commands. Previously,
  ``pty=True`` used ``/bin/bash`` and ``pty=False`` (the default) used
  ``/bin/sh``; the new unified default value is ``/bin/bash``.

  Thanks to <NAME> for the report.
* :bug:`152 major` (also :issue:`251`, :issue:`331`) Correctly handle<commit_msg>Changelog re #259, #280<commit_after>=========
Changelog
=========

* :feature:`259` (also :issue:`280`) Allow updating (or replacing) subprocess
  shell environments, via the ``env`` and ``replace_env`` kwargs to
  `~invoke.runners.Runner.run`. Thanks to <NAME> for the report,
  ``@philtay`` for an early version of the final patch, and <NAME> & Vlad
  Frolov for feedback.
* :feature:`67` Added ``shell`` option to `~invoke.runners.Runner.run`,
  allowing control of the shell used when invoking commands. Previously,
  ``pty=True`` used ``/bin/bash`` and ``pty=False`` (the default) used
  ``/bin/sh``; the new unified default value is ``/bin/bash``.

  Thanks to Jochen Breuer for the report.
* :bug:`152 major` (also :issue:`251`, :issue:`331`) Correctly handle
{'fraction_non_alphanumeric': 0.18444995864350702, 'fraction_numerical': 0.028122415219189414, 'mean_word_length': 5.019900497512438, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2451590', 'n_tokens_mistral': 416, 'n_tokens_neox': 380, 'n_words': 136}