...
This commit is contained in:
parent
316e7cb9f5
commit
b3ed4e3bc2
@ -333,7 +333,7 @@ class Window:
|
|||||||
@property
|
@property
|
||||||
def cwd_of_child(self):
|
def cwd_of_child(self):
|
||||||
# TODO: Maybe use the cwd of the leader of the foreground process
|
# 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
|
pid = self.child.pid
|
||||||
if pid is not None:
|
if pid is not None:
|
||||||
return cwd_of_process(pid) or None
|
return cwd_of_process(pid) or None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user