mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
...
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user