aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/mason-core/spawn.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/mason-core/spawn.lua b/lua/mason-core/spawn.lua
index 0a1bb828..038d7853 100644
--- a/lua/mason-core/spawn.lua
+++ b/lua/mason-core/spawn.lua
@@ -66,6 +66,7 @@ setmetatable(spawn, {
-- Find the executable path via vim.fn.exepath on Windows because libuv fails to resolve certain executables
-- in PATH.
if platform.is.win and (spawn_args.env and has_path(spawn_args.env)) == nil then
+ a.scheduler()
local expanded_cmd = vim.fn.exepath(canonical_cmd)
if expanded_cmd ~= "" then
cmd = expanded_cmd