Handle envvars and ~ in session cwd directives

This commit is contained in:
Kovid Goyal
2016-12-06 11:26:01 +05:30
parent 33d58fd7bc
commit 26c7297de6

View File

@@ -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):