diff --git a/kitty/child.py b/kitty/child.py index 712617252..84b016ac3 100644 --- a/kitty/child.py +++ b/kitty/child.py @@ -18,7 +18,7 @@ class Child: def __init__(self, argv, cwd, opts): self.argv = argv - self.cwd = cwd + self.cwd = os.path.abspath(os.path.expandvars(os.path.expanduser(cwd or os.getcwd()))) self.opts = opts def fork(self):