summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index e75877f3..3a99aeb7 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2989,6 +2989,8 @@ class Cmd(cmd.Cmd):
if args.remainder:
full_command += ' ' + ' '.join(args.remainder)
+ # If running at the CLI, print the output of the command
+ bridge.cmd_echo = True
interp.runcode(full_command)
# If there are no args, then we will open an interactive Python console