Inherit full outside env
This commit is contained in:
parent
5d3e2c7111
commit
dfec88ed15
@ -54,7 +54,8 @@ def socket_child_main(exit_code=0):
|
|||||||
p = fork_prewarm_process(opts, use_exec=True)
|
p = fork_prewarm_process(opts, use_exec=True)
|
||||||
if p is None:
|
if p is None:
|
||||||
return
|
return
|
||||||
env = {'TEST_ENV_PASS': 'xyz', 'KITTY_PREWARM_SOCKET': p.socket_env_var()}
|
env = os.environ.copy()
|
||||||
|
env.update({'TEST_ENV_PASS': 'xyz', 'KITTY_PREWARM_SOCKET': p.socket_env_var()})
|
||||||
cols = 117
|
cols = 117
|
||||||
stdin_r, stdin_w = os.pipe()
|
stdin_r, stdin_w = os.pipe()
|
||||||
os.set_inheritable(stdin_w, False)
|
os.set_inheritable(stdin_w, False)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user