mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
Free up memory used to store copy of child env block
This commit is contained in:
@@ -881,7 +881,7 @@ class Window:
|
||||
if cb and cb != ['none']:
|
||||
import shlex
|
||||
import subprocess
|
||||
env = self.child.final_env
|
||||
env = self.child.foreground_environ
|
||||
env['KITTY_CHILD_CMDLINE'] = ' '.join(map(shlex.quote, self.child.cmdline))
|
||||
subprocess.Popen(cb, env=env, cwd=self.child.foreground_cwd)
|
||||
if not self.is_active:
|
||||
|
||||
Reference in New Issue
Block a user