From a8504c971ae60f5c824af9277c832cd5dcf962a0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 12 Jun 2019 21:36:13 +0530 Subject: [PATCH] Also set special env for piped child with no input --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index 72afab7b3..dc584f7a5 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -929,7 +929,7 @@ class Boss: finally: os.close(r) else: - subprocess.Popen(cmd) + subprocess.Popen(cmd, env=env) def args_to_special_window(self, args, cwd_from=None): args = list(args)