summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-07-02 10:26:25 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-07-02 10:26:25 -0400
commit9054a211b60f55e00ea446433444c0bf4970a50f (patch)
tree8772cac8fc4d002e23886d41cee629f1a4972acf /examples/python_scripting.py
parentcc7a3303e1c95f713e84cf3bbd6acf262823e3a2 (diff)
downloadcmd2-git-9054a211b60f55e00ea446433444c0bf4970a50f.tar.gz
shell command now uses cmd.Cmd.stdout for output
The main advantages of this are that shell command output can now be - piped to another shell command - redirected to a file In the future, I may take it a step further where the output is piped, but using a pipe versus a real terminal changes the behavior of many shell commands, for example by getting rid of ANSI color and various other pretty formatting.
Diffstat (limited to 'examples/python_scripting.py')
0 files changed, 0 insertions, 0 deletions