Skip to content

Commit 423a066

Browse files
committed
Updated change log
1 parent 7994806 commit 423a066

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
`argparse.Namespace` object they pass to the `do_*` methods. It is stored in an attribute called `__statement__`.
1313
This can be useful if a command function needs to know the command line for things like logging.
1414
* Added a `-t` option to the `load` command for automatically generating a transcript based on a script file
15+
* When in a *pyscript*, the stdout and stderr streams of shell commands and processes being piped to are now
16+
captured and included in the ``CommandResult`` structure.
1517
* Potentially breaking changes
1618
* The following commands now write to stderr instead of stdout when printing an error. This will make catching
1719
errors easier in pyscript.
@@ -23,6 +25,9 @@
2325
* Added ``allow_redirection``, ``terminators``, ``multiline_commands``, and ``shortcuts`` as optional arguments
2426
to ``cmd.Cmd.__init__()`
2527
* A few instance attributes were moved inside ``StatementParser`` and properties were created for accessing them
28+
* ``self.pipe_proc`` is now called ``self.pipe_proc_reader`` and is a ``ProcReader`` class.
29+
* Shell commands and commands being piped to while in a *pyscript* will function as if their output is going
30+
to a pipe and not a tty. This was necessary to be able to capture their output.
2631

2732
## 0.9.11 (March 13, 2019)
2833
* Bug Fixes

0 commit comments

Comments
 (0)