From: Kornel Benko Date: Thu, 25 Jul 2019 08:01:03 +0000 (+0200) Subject: Fix forward search X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=20ed35b6cda059c0a7d728b255fd6e74bc9d6753;p=features.git Fix forward search The provided working directory was not properly set when the underlying process starts. It is not clear, why only this one call to one.startscript() needs fixing. OTOH, the other calls do not use 'Systemcall::DontWait' as the first parameter. --- diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp index 6e87f007f9..581967fc4d 100644 --- a/src/frontends/qt/GuiView.cpp +++ b/src/frontends/qt/GuiView.cpp @@ -4496,7 +4496,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr) command = subst(command, "$$t", texname); command = subst(command, "$$o", outname); - PathChanger p(path); + volatile PathChanger p(path); Systemcall one; one.startscript(Systemcall::DontWait, command); break;