We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c8d65 commit 6e89905Copy full SHA for 6e89905
cmd2/cmd2.py
@@ -2968,6 +2968,10 @@ def run(filename: str):
2968
:param filename: filename of *.py script file to run
2969
"""
2970
expanded_filename = os.path.expanduser(filename)
2971
+
2972
+ # cmd_echo defaults to False for scripts. The user can always toggle this value in their script.
2973
+ bridge.cmd_echo = False
2974
2975
try:
2976
with open(expanded_filename) as f:
2977
interp.runcode(f.read())
0 commit comments