diff --git a/src/strands_tools/editor.py b/src/strands_tools/editor.py index a70f86da..729b3e4d 100644 --- a/src/strands_tools/editor.py +++ b/src/strands_tools/editor.py @@ -314,7 +314,7 @@ def editor( console = console_util.create() try: - path = os.path.expanduser(path) + path = os.path.abspath(os.path.expanduser(path)) if not command: raise ValueError("Command is required")