diff options
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | cmd2/cmd2.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b034faa..4cd78a51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.9.10 (February 22, 2019) +* Bug Fixes + * Fixed unit test that hangs on Windows + ## 0.9.9 (February 21, 2019) * Bug Fixes * Fixed bug where the ``set`` command was not tab completing from the current ``settable`` dictionary. diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 15175123..03fc719e 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -3356,9 +3356,9 @@ class Cmd(cmd.Cmd): if not self.editor: raise EnvironmentError("Please use 'set editor' to specify your text editing program of choice.") - command = utils.quote_string_if_needed(self.editor) + command = utils.quote_string_if_needed(os.path.expanduser(self.editor)) if args.file_path: - command += " " + utils.quote_string_if_needed(args.file_path) + command += " " + utils.quote_string_if_needed(os.path.expanduser(args.file_path)) self.do_shell(command) |
