This commit is contained in:
Kovid Goyal 2022-04-16 09:26:53 +05:30
parent 57ea524464
commit d6c5b40ead
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -611,4 +611,5 @@ def clone_and_launch(msg: str, window: Window) -> None:
if c.opts.env:
for entry in reversed(c.opts.env):
patch_cmdline('env', entry, cmdline)
c.opts.env = []
launch(get_boss(), c.opts, cmdline, base_env=c.env, active=window)