diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 22:23:25 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 22:23:25 -0400 |
commit | 423a066268aba522eb0eace055b3696a7f49909f (patch) | |
tree | 154b38d52bfd39ac797a493e1ac837b89a05a9b3 /CHANGELOG.md | |
parent | 7994806def85c0239d7af8e44e32ba4f70b670db (diff) | |
download | cmd2-git-423a066268aba522eb0eace055b3696a7f49909f.tar.gz |
Updated change log
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index da3d0751..92bd0b21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ `argparse.Namespace` object they pass to the `do_*` methods. It is stored in an attribute called `__statement__`. This can be useful if a command function needs to know the command line for things like logging. * Added a `-t` option to the `load` command for automatically generating a transcript based on a script file + * When in a *pyscript*, the stdout and stderr streams of shell commands and processes being piped to are now + captured and included in the ``CommandResult`` structure. * Potentially breaking changes * The following commands now write to stderr instead of stdout when printing an error. This will make catching errors easier in pyscript. @@ -23,6 +25,9 @@ * Added ``allow_redirection``, ``terminators``, ``multiline_commands``, and ``shortcuts`` as optional arguments to ``cmd.Cmd.__init__()` * A few instance attributes were moved inside ``StatementParser`` and properties were created for accessing them + * ``self.pipe_proc`` is now called ``self.pipe_proc_reader`` and is a ``ProcReader`` class. + * Shell commands and commands being piped to while in a *pyscript* will function as if their output is going + to a pipe and not a tty. This was necessary to be able to capture their output. ## 0.9.11 (March 13, 2019) * Bug Fixes |