This commit is contained in:
Kovid Goyal 2018-04-25 09:16:10 +05:30
parent 316e7cb9f5
commit b3ed4e3bc2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -333,7 +333,7 @@ class Window:
@property
def cwd_of_child(self):
# TODO: Maybe use the cwd of the leader of the foreground process
# group?
# group in the session of the child process?
pid = self.child.pid
if pid is not None:
return cwd_of_process(pid) or None