diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-12-19 16:41:18 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-12-19 16:41:18 -0500 |
commit | 1a26c0254b2c2834998b8a28f04e8aedc08c587f (patch) | |
tree | 59323a1ec658c5b7b22c833aa03c5ef57ea51407 /cmd2/cmd2.py | |
parent | 801bab847341fb9a35d10f1d0b4a629a4fc8f14c (diff) | |
parent | 6a1ec96f6975b7065703602be4484c81079cb086 (diff) | |
download | cmd2-git-1a26c0254b2c2834998b8a28f04e8aedc08c587f.tar.gz |
Merge branch 'master' into ansi_to_style
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 4adf349b..8a97761d 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -300,7 +300,7 @@ class Cmd(cmd.Cmd): if startup_script: startup_script = os.path.abspath(os.path.expanduser(startup_script)) if os.path.exists(startup_script): - self._startup_commands.append("run_script '{}'".format(startup_script)) + self._startup_commands.append("run_script {}".format(utils.quote_string(startup_script))) # Transcript files to run instead of interactive command loop self._transcript_files = None |