Fix remote_control_script not working in a kitty instance run from inside another kitty instance

This commit is contained in:
Kovid Goyal
2026-07-06 09:08:43 +05:30
parent c1660a4e83
commit d5cac0100e
3 changed files with 4 additions and 1 deletions

View File

@@ -216,6 +216,8 @@ Detailed list of changes
- choose-file kitten: Use a full readline editor for the search box. Also allow remapping the up/down/home/end keys to use for editing instead of navigating the file list (:pull:`10225`)
- Fix :ac:`remote_control_script` not working in a kitty instance run from inside another kitty instance
0.47.4 [2026-06-15]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -2902,6 +2902,7 @@ class Boss:
remote = self.add_fd_based_remote_control(remote_control_passwords)
pass_fds.append(remote.fileno())
add_env('KITTY_LISTEN_ON', f'fd:{remote.fileno()}')
add_env('KITTY_PUBLIC_KEY', self.encryption_public_key)
if activation_token:
add_env('XDG_ACTIVATION_TOKEN', activation_token)
fds_to_close_on_launch_failure = list(pass_fds)

View File

@@ -53,8 +53,8 @@ func shm_entry_point(root *cli.Command) {
return test_integration_with_python(args)
},
})
}
func EntryPoint(root *cli.Command) {
root = root.AddSubCommand(&cli.Command{
Name: "__pytest__",