fix(startup): run embedded Nvim with real path (#24282)

fix(startup): run embedded process with real path
This commit is contained in:
zeertzjq
2023-07-08 08:27:39 +08:00
committed by GitHub
parent c379d72c49
commit 559c4cfd52
7 changed files with 24 additions and 13 deletions

View File

@@ -53,8 +53,8 @@ uint64_t ui_client_start_server(int argc, char **argv)
CallbackReader on_err = CALLBACK_READER_INIT;
on_err.fwd_err = true;
Channel *channel = channel_job_start(args, CALLBACK_READER_INIT,
on_err, CALLBACK_NONE,
Channel *channel = channel_job_start(args, get_vim_var_str(VV_PROGPATH),
CALLBACK_READER_INIT, on_err, CALLBACK_NONE,
false, true, true, false, kChannelStdinPipe,
NULL, 0, 0, NULL, &exit_status);