aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-06-18 17:44:29 -0400
committerGitHub <noreply@github.com>2026-06-18 17:44:29 -0400
commita1da5d1f141f58158ffc33aa2c84e790633b57c9 (patch)
tree3597a126260753d817b05c1e616117f74ba059f9 /test/functional/vimscript/executable_spec.lua
parentae426ee4656687472daf6886db66cd9905d1a1c5 (diff)
downloadrneovim-a1da5d1f141f58158ffc33aa2c84e790633b57c9.tar.gz
rneovim-a1da5d1f141f58158ffc33aa2c84e790633b57c9.tar.bz2
rneovim-a1da5d1f141f58158ffc33aa2c84e790633b57c9.zip
fix(:restart): set job env instead of mutating parent env #40308
Problem: - Transient mutation of the parent env is visible to any concurrent code. Or at least just kinda sloppy. - Latent bug:`channel_job_start` queues the spawn and returns before `uv_spawn` runs, so the prior `os_unsetenv` immediately after the call could in principle race with the deferred spawn. Solution: Pass `env` to the channel.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions