Ensure copy_env is False

This commit is contained in:
Kovid Goyal 2022-04-15 14:04:52 +05:30
parent 981ad88309
commit 25f022cc14
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -579,6 +579,7 @@ def clone_and_launch(msg: str, window: Window) -> None:
if c.cwd and not c.opts.cwd:
c.opts.cwd = c.cwd
c.opts.copy_colors = True
c.opts.copy_env = False
if c.pid > -1:
try:
cmdline = cmdline_of_process(c.pid)