mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 08:18:08 +02:00
Remote control launch: Fix --env not implemented when using --cwd=current with the SSH kitten
Fixes #6438
This commit is contained in:
@@ -206,7 +206,7 @@ class Child:
|
||||
self.argv = list(argv)
|
||||
if cwd_from:
|
||||
try:
|
||||
cwd = cwd_from.modify_argv_for_launch_with_cwd(self.argv) or cwd
|
||||
cwd = cwd_from.modify_argv_for_launch_with_cwd(self.argv, env) or cwd
|
||||
except Exception as err:
|
||||
log_error(f'Failed to read cwd of {cwd_from} with error: {err}')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user