When running kittens use the cwd of the child process as the kittens' cwd
This commit is contained in:
parent
f84cb2f07a
commit
9e044750ce
1 changed files with 3 additions and 1 deletions
|
|
@ -610,7 +610,9 @@ def _run_kitten(self, kitten, args=(), input_data=None):
|
|||
'OVERLAID_WINDOW_LINES': str(w.screen.lines),
|
||||
'OVERLAID_WINDOW_COLS': str(w.screen.columns),
|
||||
},
|
||||
overlay_for=w.id))
|
||||
cwd=w.cwd_of_child,
|
||||
overlay_for=w.id
|
||||
))
|
||||
overlay_window.action_on_close = partial(self.on_kitten_finish, w.id, end_kitten)
|
||||
return overlay_window
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue